config.js fixes

Compatibility mode:
load config.json --> convert his keys to dashed --> collect rc config
(defaults if converted config.json + definitions) --> convert all keys
to camel-case