Fixes to entity created, version created and delete event handlers.
Add missing headers and formatting only.
Remove write-delay from iterating query tests and, instead, decrease the number of threads used to process tasks.