Version 0.5.0 release.
Revert version number for maintenance branch.
Minor tweak to documentation deployment script.

Accounts for differing output between different versions of git.
Merge branch 'v0.5.x'

* v0.5.x:
  Minor tweak to documentation deployment script.
  Revert version number for maintenance branch.
  Version 0.5.0 release.
Updated version number on development branch.