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

I have put test classes on class path, this should be done only during tests. The reason for this is https://github.com/apache/spark/pull/1905#issuecomment-52886252.