Scala 2.10 support

Signed-off-by: Markus Jura <markus.jura@googlemail.com>