Updates for deploying to heroku

@jzoldak @cgoldberg  Please review. 

The biggest change is updating the mongo logic to use a URI from the environment instead of constructing one on its own.