Fixed replication bug in BlockManager
Merge pull request #501 from tdas/master

Fixed bug in BlockManager and added a testcase
Changed Flume test to use the same port as other tests, so that can be controlled centrally.
Merge pull request #502 from tdas/master

Very minor change in a testcase
Pass a code JAR to SparkContext in our examples. Fixes SPARK-594.
createNewSparkContext should use sparkHome/jars/environment.

This fixes a bug introduced by Matei's recent change.
Merge pull request #503 from pwendell/bug-fix

createNewSparkContext should use sparkHome/jars/environment.
Fix Windows script for finding examples JAR
Merge branch 'master' of https://github.com/mesos/spark