Automate publishing of the changelogs.

Publishes the changelog on github using a gh-pages branch.

This implementation changes back and forth between git
branches without updating the working tree.  This should
be faster because the branches are unrelated so updating
the tree would require removing and recreating all the files.
More robust parsing of changelog in build.xml
Make sure the gh-pages branch is pushed.
New "-pre-bump-check" target for sanity checks.

Perform all sanity checks before making any changes.
Close stream when done (StrictMode error)
SMTP dot stuffing should be done *after* line wrapping.
Merge pull request #354 from zjw/publish_changelog

 	Automated change log publication
Merge pull request #359 from alenzen/master

It's APG, not AGP.