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

Note to self: Trying removing these scripts, by using _${scala.binary.version}.