Task 'cancel' ans 'state' improved at node level

Has been modified the RESTful requests for
'cancel' and 'state' in automation therefore must be
updated the client. Related with pull request
https://github.com/StackOps/stackops-head/pull/23

Bug: STACKOPHEAD-498