added mongoose connection logic.
connect to db on server init. close connection when server process is
terminated.
Merge branch 'master' of https://github.com/justinryder/PandAngular