Cleans up res.view implementation, grabs locals from req.options.locals and merges them in.
Merge branch 'blueprints' into v0.10
Added publishCreate back in, but added deprecation notice.
tweaks to deprecation notices (adds backwards compatibility)
res.view() works w/ all usages again.
Cache socket handshake in `fromSocket` in case it gets wiped out.
Merge branch 'v0.10' of https://github.com/balderdashy/sails into v0.10
Added fatal error if no connection can be determined
Merge branch 'v0.10' of github.com:balderdashy/sails into v0.10
Added a default `beforeShutdown` function, so that sails.lower always works.
Merge branch 'v0.10' of https://github.com/balderdashy/sails into v0.10
Added alternate usage for low-level join and leave methods (can send socket ID instead of socket object).
Removed code from low-level functions that negotiated sending a request object instead of a socket, and moved that negotiation into the model pubsub model functions.
Changed name of model pubsub functions from “socket” or “socketToOmit” to “req”, for clarity.  Sending a socket object directly is still supported.
Help messages for blueprint prefix config.
Improved deprecation notices and warnings.
Fixed sails.lower to ensure that callbacks don’t get called more than once
Added throttling to deprecation warnings; they’ll only show up once every 5 seconds.
Updated ORM deprecation warnings to take advantage of throttling w/ upgrade notices.
The upgrade notice will only show up if the deprecation warning was displayed.
Updated pubsub deprecation warnings to use new format.
Updated references to optional `req` to avoid errors.
Horrible (but effective) fix for JSONP