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

Actually I think we need to add explicitly a version to the classpath. Can we just detect the version by doing `ls core/target`? If we see compiled files for both scala 2.10 and 2.11 we can throw an error and ask the user to remove one.