refactoring so that app routes can be maintained more easily from app/ directory (which makes more sense)
further refactoring of the route middlewares so they can be easily shared amongst app routes
Merge branch 'enhancement-authtypes_refactor'
Merge branch 'enhancement-routes_refactor'
fixed defect where no flash (error/success) messages would be displayed due to wrongly placed flash() call (it should go after passport.initialize and passport.session)
cleaning up jslint warnings
Merge branch 'master' of https://github.com/lirantal/mean into lirantal-master
Merge remote-tracking branch 'upstream/master'