updated to scala 2.11.2, fixed compiler errors, and removed deprecated symbols
Merge pull request #1 from maohde/complete-example

Updated to scala 2.11.2