Hide error messages in production

In addition, this set a connection and socket timeout on MongoDB
connections of 2 seconds. This can be adjusted via configuration.
Merge pull request #138 from cndreisbach/hide-prod-errors

Hide error messages in production