the 2nd assignment of machine learning class in coursera: logistic regression and regularization

merge from master
the 3rd assignment of machine learning class in coursera: logistic regression and neural network