* support reading class_weight from file in loss function * add unit test of loss with class_weight from file * minor fix * move get_class_weight to utils
* support reading class_weight from file in loss function * add unit test of loss with class_weight from file * minor fix * move get_class_weight to utils