Initial commit of adding histogram functionality to the DoubleRDDFunctions.
Add tests for the Java implementation.
CR feedback
Remove extranious type definitions from inside of tests
Remove extranious type declerations
Add graphite sink for metrics

This adds a metrics sink for graphite.  The sink must
be configured with the host and port of a graphite node
and optionally may be configured with a prefix that will
be prepended to all metrics that are sent to graphite.
Cleanup GraphiteSink.scala based on feedback

* Reorder imports according to the style guide
* Consistently use propertyToOption in all places
XORShift RNG with unit tests and benchmark
To run unit test, start SBT console and type:
compile
test-only org.apache.spark.util.XORShiftRandomSuite
To run benchmark, type:
project core
console
Once the Scala console starts, type:
org.apache.spark.util.XORShiftRandom.benchmark(100000000)
Updates to reflect pull request code review
Remove explicit boxing
Add spaces
PartitionPruningRDD is using index from parent
PartitionPruningRDD is using index from parent(review changes)
Remove the semicolons at the end of Scala code to make it more pure Scala code.
Also remove unused imports as I found them along the way.
Remove return statements when returning value in the Scala code.

Passing compile and tests.
Another set of changes to remove unnecessary semicolon (;) from Scala code.

Passed the sbt/sbt compile and test
Merge branch 'master' into removesemicolonscala
Formatting and scoping (private[spark]) updates
Make XORShiftRandom explicit in KMeans and roll it back for RDD
Merge pull request #191 from hsaputra/removesemicolonscala

Cleanup to remove semicolons (;) from Scala code

-) The main reason for this PR is to remove semicolons from single statements of Scala code.
-) Remove unused imports as I see them
-) Fix ASF comment header from some of files (bad copy paste I suppose)
Merge branch 'master' of github.com:tbfenet/incubator-spark

PartitionPruningRDD is using index from parent

I was getting a ArrayIndexOutOfBoundsException exception after doing union on pruned RDD. The index it was using on the partition was the index in the original RDD not the new pruned RDD.