[MRG+1] adding support for class_weight in fit method

This should solve #3928, unless we decide to go the route of warning. 
Thanks for the tip, I'll change that now