Implementation of logistic_regression_path.

This is mostly the code from Gael's logistic_cv branch. My work is only some
minor cleanup some added tests and benchmarking.