Add some scripts to generate javadocs and deploy snapshots