Porting to QGIS2

This pull request makes the hmtk work with qgis 2.0.

For a clean diff, https://github.com/gem/qt-experiments/pull/2 should land first.