fix documentation compile

Signed-off-by: Werner Macho <werner.macho@gmail.com>
updating documentations, fixes AIFDR/inasafe-doc#152

Signed-off-by: Werner Macho <werner.macho@gmail.com>
Remove codes duplication.
Merge pull request #1016 from akbargumbira/fixing_bad_codes

Remove codes duplication.
Merge branch 'develop' of github.com:AIFDR/inasafe into realtime_2.1