Adding support for heartbeat,  JSON message on activity failure,

*Heartbeat support
*Adding support for JSON message on activity failure. This allows to exchange pass the error state (object) from activity to decider.