Config urls

apiUrl and accountsUrl are now config options that can be passed in. If absent config.local is still paid attention to like it always was.

Also removed node_modules from the repo and locked versions in package.json