Changed run script to prefer classes over jars because classes are
always built.
Upgraded sbt version to 0.12.3.
Added eclipse and intellij idea plugin to sbt.
Assign 2G of ram for sbt tests.
Fixes to make tests run reliably. Removed useless local directory presence check. Using a different port to test shark server/client connect.
Adding support for ENSIME mode for emacs and other editors in the build.
Merge pull request #96 from junkumar/sbt-0.12

ENSIME + fixes for tests
Reset spark driver port after stopping SparkContext.
Changed Spark version to 0.7.2 so it can be pulled from Maven.
Merge branch 'master' into branch-0.7
Adding variable length integer encoding to ShuffleSerializer.

Also, some minor style cleanup.

Conflicts:
	src/main/scala/shark/execution/serialization/ShuffleSerializer.scala
	src/test/scala/shark/SerializationSuite.scala
Renamed ShuffleSerializerSuite.
Merge branch 'master' of github.com:amplab/shark

Conflicts:
	src/test/scala/shark/SortSuite.scala
Fixed the problem that ShuffleSerializer does not always read the full
bytes and as a result returning negative byte array len.
Broke ReduceKey into two classes (ReduceKeyMapSide and
ReduceKeyReduceSide) so on the reduce side, we don't need to have an
extra level of indirection (BytesWritable). This can save the amount of
memory needed for joins and aggregations.
Moved SharkContext's static Hive fields into their own singleton object.
Merge branch 'master' of github.com:amplab/shark into branch-0.8
SHARK-92: Queries with limits will launch one task at a time.
Merge branch 'branch-0.7' of github.com:amplab/shark into branch-0.8

Conflicts:
	project/SharkBuild.scala
SHARK-145: Improve distinct aggregation performance and lower memory usage.