* @param {String} [name] Provide a name for the hook function. This serves no purpose, other than the ability to be able to order hooks based on some sort of priority system in the future.
returnHooks.addHook.apply(this,arguments);
* @param {Function} fn The hook function
},
*
* @alias hook
/**
*/
* Add a hook to the model
Hooks.addHook=function(hookType,name,fn){
*
if(typeofname==='function'){
* @param {String} hooktype
fn=name;
* @param {String} [name] Provide a name for the hook function. This serves no purpose, other than the ability to be able to order hooks based on some sort of priority system in the future.