Fix jshint errors
Added more error handling to test/router/integration/helpers/httpHelper
Merge pull request #888 from xdissent/jshint

Fix jshint errors
Added configurable config.sockets.onDisconnect
Merge branch 'development' of github.com:balderdashy/sails into development
Added onDisconnect handler as a no-op to boilerplate config/sockets file.
Improved docs in boilerplate socket config
Fixes ejs layouts, simplifies view rendering.
Optimization to avoid rendering view twice-- relies on Express implementation detail, however.  Added explicit HARD_DEPENDENCY note to make sure this is obvious.
Return from tests in the case of an error