check power state before stop
check power state before stop
Merge pull request #18 from cloudify-cosmo/CFY-1756-stop-phase

check power state before stop