sbt 0.13 build syntax upgrade + libraries upgrade

The aim of the changes was to get rid of the old pre-sbt-0.13 syntax in the build. `publishLocal` worked fine for me.