migrates to 2.11.0-RC1

This pull request migrates the master branch to be compatible with the recently merged scala/scala#3452 without losing cross-compilation for 2.10.x.