Dump and restore Stochastic Event Set

Addresses https://bugs.launchpad.net/oq-engine/+bug/1247665

Additionally, I have changed the database permissions such that ```oq_admin``` is able to create temporary tables (used for the dump/restore workflow).

For a clean diff, https://github.com/gem/oq-engine/pull/1298/ should land first