Add gzip support for remote document loading.

- Addresses #28.
Release 0.5.1.
Start 0.5.2.