Support for mongo session store

When generating an app you are asked if you like to use the mongo session store (defaulting to _yes_). Due to this change it was necessary to move app.js to another location and render it via ejs.