Adding support for JSON message for activity failure.
Adding support for Heartbeat
Merge pull request #19 from sukrit007/develop

Adding support for heartbeat,  JSON message on activity failure,