[MRG] adding support for class_weight in fit method

This should solve #3928, unless we decide to go the route of warning.