UHS schema and XML writer

Addresses: https://bugs.launchpad.net/openquake/+bug/1154108