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

This should solve #3928, unless we decide to go the route of warning. 
Can you use assert_warns?