Allow mongo to be used as a session store
Merge pull request #421 from greeze/allow-mongo-session-store

Allow mongo to be used as a session store
Set up the beginnings of the new router.
Stubbed out Router.fn.bind
First pass at new middleware registry complete.  New router is hooked up in a bare-bones way.
Removed old policies module.
Bug fix for policies, moved request.js to work on shaping it into a plugin.
Got dynamic/resourceful routing working.
Allow controllers to be functions or arrays as well as objects.
Added req.target, req.controller, req.entity, req.action, started view plugin.
View plugin works.
Made Router an eventEmitter, removed views module, updated default hooks.
Added new DynamicRoutes and Views hooks
Simplified hook definition pattern
Removed lingering reference to sails-dirty.
addressing comment on 7cf5d77, added shorter more reliable timeout (couldn't easily remove it)
Merge branch '0.9' of https://github.com/balderdashy/sails into 0.9
moved csrf, error, and notFound blueprints into hooks and added hooks config for environments
Merge pull request #449 from Zolmeister/0.9

0.9 bugfix
Merge pull request #450 from Zolmeister/hooks

moved csrf, error, and notFound blueprints into hooks and added hooks config for environments