Misc updates to documentation and such.

* Rewritten CHANGELOG with all the changes.
* Added CONTRIBUTING.
* Added UPGRADING.