Refactor project to use sbt and managed libraries, upgraded to Scala 2.10