config.js: small updates

* line shortening (lint)
* replaced cascading if else’s switch/case (2x)
* moved json & yaml file type setting into config.arrange_args with the
.ini setting.
* added binary type to type list in docs/Config.md
* renamed configloader -> cfreader (consistent with use elsewhere)