[ SPARK-1812] Adjust build system and tests to work with scala 2.11+ repl port.

Arguably, if you are picking this up from the environment, you should call it `SPARK_SCALA_VERSION`.