Adding Java versions of Pi and LogQuery
Changes to more closely match line length limit style
Adding Java K-Means example
A few cosmetic changes for JavaKMeans
Java indentation 2 --> 4 spaces
Java indentation 4 --> 2 spaces
Merge branch 'java-examples' of https://github.com/MLnick/spark into java-examples
Merge pull request #528 from MLnick/java-examples

[SPARK-707] Adding Java versions of Pi, LogQuery and K-Means examples