Add wrapper around aggregator.defaults to hide internal structure of it
Add wrapper around aggregator.keyword_io to hide internal structure of it
tentative fix for html_renderer tests hanging
faster retry of the loadedFinished check
also changed the slot to accept a parameter  passed by the signal that indicates if the load was succesfull
Refactored the get default code to avoid trying to import safe_qgis 
all the time. now safe imports get_defaults, and if safe_qgis.__init__  is
called, then it monkey patches the safe.get_defaults to use 
safe_qgis.get_defaults
to do this I had refactored defaults to its own file to avoid a __init__ 
cascade that was loading the inpact function before safe_qgis.__init__
could monkeypatch the get defaults method.

this fixes #704 and probably all the related QPainter issues
correcting comments to compile with rst documentation
more PEP8 happines
add test for Qt translation
rename translation test, as it now tests not only safe translations, but
also Qt ones
fix #669
fix #698
Merge branch 'master' of github.com:AIFDR/inasafe
fixing pep and lint.
now quicktest runs with just 2 issues:
 - safe_qgis.ui.impact_merge_dialog_base is missing
 - manokwari_earthquake_scenario.tif (Checksum = 1889808562):  LICENSE FILE NOT VALID
REASON: Bad checksum (CRC).
fix failures on my 13.04_64
moved import qgis in safe_qgis.__init__ so it is always called and there is 
no need to manually import it in the tests
adjust default template
Merge branch 'master' into aggregator_wrappers

Resolve conflicts:
	safe/api.py
	safe_qgis/impact_statistics/postprocessor_manager.py
readded humanized numbers into posprocessing
update Aggregation results test expected results
changed GOOGLECRS to 3857 since 900913 is not in qgis db anymore