Fixes previous commit (loadHooks - replacing a usage of sails.util.isDictionary() also involves not only checking !array, but also !function)
Fixes previous commit (loadHooks - replacing a usage of sails.util.isDictionary() also involves not only checking !array, but also !function)

t2013anurag/sails,marnusw/sails,alex-zhang/sails,youprofit/sails,kevinburke/sails,pmq20/sails,vip-git/sails,hellowin/sails,saniko/soundcloud_mithril,adrianha/sails,mauricionr/sails,antodoms/sails,shaunstanislaus/sails,Shyp/sails,konstantinzolotarev/sails,cazulu/sails,rlugojr/sails,ctartist621/sails,taogb/sails,AnyPresence/sails,erkstruwe/sails,corbanb/sails,curphey/sails,haavardw/sails,mnaughto/sails,leobudima/sails,jakutis/sails,zand3rs/sails,Hanifb/sails,EdisonSu768/sails,tempbottle/sails,apowers313/sails,justsml/sails,metidia/sails,hokkoo/sails,winlolo/sails,jianpingw/sails,saronwei/sails,tjwebb/sails,togusafish/logikinc-_-sails,saniko/soundcloud_mithril,artBrown/sails,calling/sails,hokkoo/sails,boarderdav/sails,JumpLink/sails,jsisaev1/sails,anweiss/sails,jianpingw/sails,yinhe007/sails,janladaking/sails,sunnycmf/sails,listepo/sails,prssn/sails,Benew/sails,Karnith/sails-for-gulp,wsaccaco/sails,dbuentello/sails,vip-git/sails,xjpro/sails-windows-associations,yangchuoxian/sails,baracudaengine/SailsUi,harrissoerja/sails,balderdashy/sails,jenalgit/sails,mphasize/sails,krishnaglick/sails,scippio/sails,dylannnn/sails,Josebaseba/sails,alexferreira/sails,rlugojr/sails,antoniopol06/sails