Fixes for inasafe realtime to work with QGIS master (getting all tests to pass again).