processingComplete event: covered by unit tests

The processingComplete event now contains an object with the docs array under the 'doclets' key. The event is now covered by a unit test.
Merge branch 'processingcomplete-event' into inheritparams-plugin
Updated for changed processingComplete event