refactored and simplified code for generic regression
add MultiClassLogisticRegressFunctor (tested)
minor modification of test_logisticreg
minor fix to logisticreg
multi-class logistic regression objective function tested
multi class logistic regression example