Added basic hooks API tests
Merge branch 'master' of github.com:balderdashy/sails