Scala 2.11 compatibility

Here's a quick check that this project compiles and passes tests for 2.11-RC1.
Cheers.