Do not update gh-pages on prereleases

Also add version number to the commit message on actual releases.
Merge pull request #194 from tmatilai/prerelease

Ensure that pre-releases don't update main docs