Connected Mongoose to a MongoLab (MongoDB) from Heroku
Added error detection for Mongoose connection
Capture termination events to disconnect from Mongolab