Clean up settings & add e2e tests

* Add config files
* Close and save settings
* Add e2e tests
* Add watch task
* Set JSHint to fail on error