loss functions added for Gradient Boosting
Loss functions : minor changes and unittests
minor changes in constructor
Merge pull request #2316 from mazumdarparijat/gradient

loss functions added for Gradient Boosting