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

I have disabled genjavadoc for now, as this does not work with scala 2.11. There is an issue what takes care of updating this, SPARK-3359.