1. fixed usage of weight when fitting 2. add fit test using y weights

Authored by sgerlach on Apr 19 2018, 7:30 PM.