code: function applyHooks(_target, _hooks, _owner) {
      for(var key in _hooks) {
        if(_hooks.hasOwnProperty(key)) {
          _target.$on(key, wrapHook(_hooks[key], _owner));
        }
      }
    }
docs: wraps a bunch of hooks