Add mongoose connection err handling.
Merge pull request #6 from sinkingshriek/mongoose-cleanup

Add mongoose connection err handling.