add compression codec trait and snappy compression
fix dependencies
Maximum task failures configurable
style
changes per comments.
typo
Added property 'spark.executor.uri' for launching on Mesos without
requiring Spark to be installed. Using 'make_distribution.sh' a user
can put a Spark distribution at a URI supported by Mesos (e.g.,
'hdfs://...') and then set that when launching their job. Also added
SPARK_EXECUTOR_URI for the REPL.
Add bagel, mllib to SBT assembly.
Also add jblas dependency to mllib pom.xml
Merge branch 'lazy_file_open' of github.com:lyogavin/spark into compression

Conflicts:
	project/SparkBuild.scala
Format cleanup.
CompressionCodec cleanup. Moved it to spark.io package.
Documentation update for compression codec.
Added unit test for compression codecs.
Exclude older version of Snappy in streaming and examples.
Added Snappy dependency to Maven build files.
Updated the configuration option for Snappy block size to be consistent with the documentation.
Renamed compressionOutputStream and compressionInputStream to compressedOutputStream and compressedInputStream.
Add mllib, bagel to repl dependencies
Also don't build an assembly jar for them
Refactored Vector.apply(length, initializer) replacing excessive code with library method

(also removed unused variable ```ans``` as minor change)
write and read generation in ResultTask