Update in review of crud hooks.

Renamed Hooks to HookManager.
Updated unit test to check pre document.
Added unit test for testing update projection.
Various formatting, import, etc fixes.