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

SCALA_VERSION is here for historical reasons. @pwendell Should we change this to SPARK_SCALA_VERSION as part of this patch, as @retronym suggested ?