Allow reg_lambda to be number, change threshold to tol (follow sklearn)
Allow reg_lambda to be number, change threshold to tol (follow sklearn)

glm-tools/pyglmnet,the872/pyglmnet,pavanramkumar/pyglmnet