Building and publishing improvements

I brought over GISCore's publishing improvements and made some tweaks to fix building on non-Windows machines.  The compiled code now targets Java 6 and you don't need a GPG key to publish a non-release version.