Upgrade to Scala 2.11.0-M7.

And all the changes needed to adapt to the new internal API
of the compiler, and other small things.