Add some scripts to generate javadocs and deploy snapshots

What prevents someone from sending a PR that echos these values to the console and then grabs them from the build output?