Merge pull request #4 from thetrav/master

Use sbt-release for Maven style publishing, added shutdown mechanism.