Added to README.md

I think I'm doing this right...

I fixed a typo in the README which trapped me for a while, as well as adding an example hook that was posted on the developer mailing list.