Add Example Spark Logistic Regression

Add example script that just runs logistic regression on Spark.
This makes it easy to see how to call the code without having
to dig through the command line interface.

Also did refactoring to support an examples module and
multiple command line applications.
Training should return a model, not just parameters