Context for plugin context proc

This is a backwards incompatible change to fix #1199

It includes modifications to the tests, to the docs and to the 3.0 release notes.