Upgrade to sbt 0.12.2 and fix ScalaTest dependency