scala 2.11.0-M8.

Ported tests to 2.3.7.

The PR is likely to have some bits you don't want, like removing the sbt plugins, but in case you would like the remainder.