Allows sails.config.csrf.allowCORS to be set (boolean) in order to specify whether or not you would like /csrfToken to be accessible in cross-domain AJAX requests. Prior to this fix, all CORS requsts to /csrfToken returned a null CSRF token.
Better support for custom session stores via connect adapters, part 1.
Some affordances to make installing easier-- makes all connet session adapters work
Remove connect-* deps
erge branch 'master' into custom-stores
More helpful errors for bad bodyparser config
fix typo in CONTRIBUTING.md
Fix a duplicate node path require
Expose globals as soon as user config loads.
closes #1672
Merge branch 'master' of https://github.com/balderdashy/sails
Adds res.status() to default response prototype.
Fix error output for sails.request() as it impacts an individual app's unit testing workflow
Cleanup
oops
Revert "oops"

This reverts commit 952c38022b7cf8da2b8935bbf63140f49da85074.
Makes unit tests (errors) pass.
Pull out req/res
Pull req and res mocking into core router's route() method
Getting integration tests to pass again
Fixes many of the tests