added mongoosejs to dependency list
log error for mongodb connection failure
ignore node_modules