Tooling to manually upload docs to hackage.

We must build docs locally, then we run a script slightly modified from
https://gist.github.com/Fuuzetsu/8276421 to work better on OS X.
Support for GIF encoding.

Other encoding formats may also now work as the handling of palletized
output is much improved (it was non-existant).