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

This should solve #3928, unless we decide to go the route of warning. 
Apparently, you want to check the exact message that is warned. To do that, you could add assert_warns_regex.