SHARK-196 Shark does not build with SPARK after moving to incubator

Conflicts:
	project/SharkBuild.scala
Fix bug of join filter doesn't work in JoinOperator

Conflicts:
	src/main/scala/shark/execution/CommonJoinOperator.scala
	src/main/scala/shark/execution/JoinUtil.scala
Changed JoinOperator to reflect hive0.11 changes
Fixed the compilation problem with non existing Spark artefacts

Conflicts:
	project/SharkBuild.scala
Make shark tests pass, change in Hive 0.11 ObjectInspector fix
Fixed unnecessary serialize/deserialize with ColumnarStruct

Conflicts:
	src/main/scala/shark/execution/TableScanOperator.scala
Fixed issue with serialization of SerializableWritable
Add support for PPD with ORCfile in Shark

Conflicts:
	src/main/scala/shark/execution/TableScanOperator.scala
SHARK-189, Fixed test

Conflicts:
	src/test/scala/shark/ReflectionSuite.scala
Patch merge mishaps.
Merge pull request #255 from boneill42/master

Fix for shark environment template when JAVA_OPTS is set.
Fixed the bug that all columns for cached tables get pruned in lateral view (and as a result returning nulls for everything).

(cherry picked from commit a696fe9e66922747bf7bee2cb342c33a0986da54)
Signed-off-by: Reynold Xin <rxin@apache.org>
Re-fixed SHARK-172, since previous fix causes regressions
Adding list of all and passed tests for hive-0.11
Fix NotSerializableExceptions for outer join filters.