UHS Export

The final branch for https://bugs.launchpad.net/openquake/+bug/1082312.

https://github.com/gem/oq-engine/pull/1091 needs to merge first for a clean diff.