Moved get_realizations from the engine into commonlib

See https://bugs.launchpad.net/oq-engine/+bug/1394894.
The tests are green: https://ci.openquake.org/job/master_oq-risklib/122
Is this implicit and sufficient, having only one param, or do you need to specify `:param path:`?