Refactor SGD options into a new class.
This refactoring pulls out code shared between SVM, Lasso, LR into
a common GradientDescentOpts class. Some style cleanup as well
Refactor optimizers and create GLMs
This change refactors the structure of GLMs to use mixins which maintain
a similar interface to other ML lib algorithms. This change also creates
an Optimizer trait which allows GLMs to be extended to use other optimization
techniques.
Move implicit arg to constructor for Java access.
Refactor GLM algorithms and add Java tests
This change adds Java examples and unit tests for all GLM algorithms
to make sure the MLLib interface works from Java. Changes include
- Introduce LabeledPoint and avoid using Doubles in train arguments
- Rename train to run in class methods
- Make the optimizer a member variable of GLM to make sure the builder
  pattern works
Merge branch 'master' of git://github.com/mesos/spark into sgd-cleanup

Conflicts:
	mllib/src/main/scala/spark/mllib/util/MLUtils.scala
Add setters for optimizer, gradient in SGD.
Also remove java-specific constructor for LabeledPoint.
Fix GLM code review comments and move java tests
Use new Configuration() instead of new JobConf() for ObjectWritable.

JobConf's constructor loads default config files in some verisons of
Hadoop, which is quite slow, and we only need the Configuration object
to pass the correct ClassLoader.
Changed yarn.version to 2.0.5 in pom.xml
Merge pull request #804 from apivovarov/master

Fixed path to JavaALS.java and JavaKMeans.java, fixed hadoop2-yarn profi...
Merge pull request #762 from shivaram/sgd-cleanup

Refactor SGD options into a new class.
Merge pull request #805 from woggle/hadoop-rdd-jobconf

Use new Configuration() instead of slower new JobConf() in SerializableWritable
Report compressed bytes read when calculating TaskMetrics
Merge pull request #808 from pwendell/ui_compressed_bytes

Report compressed bytes read when calculating TaskMetrics
Removing dead docs
Merge pull request #810 from pwendell/dead_doc_code

Remove now dead code inside of docs
Merge pull request #806 from apivovarov/yarn-205

Changed yarn.version to 2.0.5 in pom.xml