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

Is it okay to leave this as is, even if we have automatic guessing of scala version on ? Otherwise there is no way to know that one can set a preferred scala version too.