Automatically generate and commit Javadoc.

This will only generate on pushes to master, and not pull requests.