clean up mongo connection and utils; pass access to the settings collection to the api
Merge branch 'feature/base-api' of github.com:nightscout/cgm-remote-monitor into feature/base-api