In compound documents creation run main resource hooks first
Merge pull request #80 from flyvictor/fix-POST-hooks-ordering

In compound documents creation run main resource hooks first