Made default onConnect a function.
Merge branch 'development' of github.com:balderdashy/sails into development