Task's state and get task by node improved

Has been improve the CLI to have into account
the node level at the moment to get a task and
perform a delete operation over it, also has been
updated the task's state to get due to the change
made in the API.

Bug: STACKOPHEAD-497