Added support for Success/Failure/Before actions

Can we call it something other than Complete Failure :) That has other connotations 

ON_SUCCESS
ON_FAILURE
BEFORE_EXECUTION