The title says it all - these changes add RE_engine_add_pass to the Engine API, allow engine plugins to add own properties to SceneRenderLayers and implement the Cycles Debug passes using the new system.
Credit for the ID property part goes to @Julian Eisel (Severin).
Depends on D2443.