move all settings values declaration before read_settings.
fixes #763
A better code for displaying local help file. It also has been tested on windows.
Merge remote-tracking branch 'origin' into inasafe-708