Add config settings into database(s) metric to support Qt deep-linking
into Mobile Web client
Optimise code and fix style errors
Fix jshint errors
Merge pull request #1978 from andersdd/deep_link_metric

Add config settings into database(s) metric to support Qt deep-linking