client config is now set globally via config file
Client config is now defined in config.json
and injected by the runner into
the client side.
This allows to pass a single unified config object to each client-side script.
Refactor previous system into this.
Fixes #10 (closed)