UHS post-processing

Address part of https://bugs.launchpad.net/openquake/+bug/1082312.

This branch adds UHS post-processing functionality. At the moment, UHS cannot be exported; I'll submit another small branch to implement that.