Fixes documentation around hooks and adds index documentation for the Model constructor.
Updates _getHooksByType so that it does not alter the passed in data.
Increments version.