fix config for dev setup

* kws_port was present twice
* valid_origins and kws_host are needed in dev setup
  - because we do not run a proxy, its same host but different ports, that are accessed thru ajax
Merge pull request #4159 from dmwm/fix_config

fix config for dev setup