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

I tried that, unfortunately in effective pom(s) that stays as is (i.e. $scala.version is not changed to 2.10).