Add a bit more test coverage.
Add ability to pass the context that the callback should be run in.
Add docs for context param.

Also mark priority as optional.
Tweak documentation.

* Use jsdoc syntax for the default value
* Describe what passing a priority does
Merge pull request #9 from gcorne/master

Add ability to pass context to addAction() and addFilter()