Added `/__getcookie` route to sockets hook, which will just return a JS file with a comment.  This should allow a JSONP request from a 3rd party to get a cookie from Sails, so that cross-domain sockets can work.
Allow CORS origin access control to work with socket requests.
Adds support for res.get and res.set for sockets.
MCerge branch 'master' of github.com:balderdashy/sails
Set up res.headers in socket response if it's empty.
Changed 'setHeader' to 'set' wherever it appears
Made CORS socket requests fail by default if 'allRoutes' is false.
Default to authorization:false
Happy birthday to everyone.
Merge branch 'master' of https://github.com/balderdashy/sails
Updated console history to save history file in local app path instead of Sails path, so that each app gets its own history.
Comments
Allow csrf and socket '3rd party cookie' shadow routes to be disabled in sails.config.
Moved "grant3rdPartyCookie" config into `sails.config.sockets`.
Load .json config files.
Fixed socket res.get to work when `res.headers` isn't present.
Changed getOrigin() function to check for `socket.handshake.headers.origin`, which is only present on cross-origin requests.
Merge branch 'master' of https://github.com/balderdashy/sails
Edge version of sails depends on edge version of waterline.
MCerge branch 'master' of github.com:balderdashy/sails
Use SVG npm badge
Fixed case in `res.view` call to make Travis happy.