Update example to Scala 2.10

Update to Scala 2.10 and more recent versions of libraries.