Fix HazardCalculation.get_imts()

Moved `get_imts` to the HazardCalculation class... it looks like there was
previously a faulty resolution of a merge conflict.

This is meant to address a build failure: http://ci.openquake.org/job/oq-engine/174/