Support keras squared_hinge and sparse_categorial_crossentropy (#1865)
Support keras squared_hinge and sparse_categorial_crossentropy (#1865)

* add squared hinge loss

* classNLL support prob as input

* add python api

* meet code review

* fix python tests

* more doc

* more doc

yangw1234/BigDL,intel-analytics/BigDL,intel-analytics/BigDL,intel-analytics/BigDL,yangw1234/BigDL,intel-analytics/BigDL,yangw1234/BigDL,yangw1234/BigDL