Publish to sonatype.org repository

Also bumped version to 0.3.1-SNAPSHOT
Abstract out fixed database stuff

Table and column names, for example.