Split out config

This moves the configuration into config.js, so that people don't accidentally commit their github tokens into their repos.

If you run the app without copying config.js.example to config.js, it warns you. (another thing it could do would be to automatically copy the file)