Refactored to load ini file faster

Parent/child relations in ini file are kept in data structure and used
during lookup.
Added test for default browser, reformat test code
Set 'true' and 'false' to real booleans, add cache
Separated initialization code.
Code formatted
Move var declarations to correct scope