migrates to 2.11.0-RC1

This pull request migrates the `scala-2.11.x` branch to be compatible with the recently merged https://github.com/scala/scala/pull/3452.