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

note to self: scala-