Do not delete a Node which is not powered off

Do not allow a node to be deleted in case the power state is not
powered off.

Change-Id: I13fff6e8795d3970e44bd5cd4693b0f98ac98c1a
Merge "Do not delete a Node which is not powered off"