Upgraded to Scala 2.11 and Spark 1.2.0.

Added examples for Spark SQL UDFs and custom relation providers.