* [SC] Replaced format/3 debug statements with debug/3.
* [AP_DB,NEW] Added add_done/1 asserting an automated process is done.
* [AP_DB,EXT] Distinguish between ap_resource/3 and ap_stage_resource/3.
* [RDF_MAT,DEB] Use DCG rule for complex debug statement generation.