Issue #2843425 by apupiales, jonathan1055: Add PRE_PUBLISH_IMMEDIATELY event to allow other modules to react before the node is published