Adds documentation for onactivate hook.
Merge pull request #10 from mikefowler/master

Adds documentation for onactivate hook. (@mikefowler, #10)