Fix for issue 317

Fix for https://github.com/aparo/pyes/issues/317

Fixes typo in shutdown procedure and adds default action to shutdown all nodes.