[MRG]Added has_fit_parameter method

Fixes #3711 
Ping @mblondel 
Add a test for an estimator with sample_weight support too. Also add a tests for instantiated classes too.