add docs for hooks and thunks
Merge pull request #85 from nrw/master

add docs for hooks and thunks