Load hooks from npm packages

Allow loading complex hooks from npm packages in /hooks dir