Added update-javadoc.sh to automatically generate and publish documentation for the current version of the library.
Ensure documentation is published to the gh-pages branch.