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

I think if a user has compiled classes for both at the same time, it's better to ask them to clean one or the other. Otherwise there could be really complicated bugs where we are actually picking up Scala 2.10 source code but running with Scala 2.11, right?