added config based on environment when connecting to mongo
added server test, but express does not close the server
renamed daily-digest to userDigest-> preparation for separating
configuration for environments managed with node-config