publish script

Tags the current commit in github and uploads the jar as a downloadable release.
Currently usable for snapshots; will need a few changes for release builds.

This will be used by Jenkins to tag and upload the jar after each successful build.