Migrate build to SBT 0.12.3

Migrate from SBT 0.7.x to 0.12.3. Additionally add the needed config
for publishing of the project to sonatype.org

Signed-off-by: Gary Pamparà <gpampara@gmail.com>