Add abort functionality to nodes

This method can be implemented in case a node is doing work
asynchronously and this work needs to be aborted
Merge pull request #2 from kolibre/add-abort-functionality

Add abort functionality to nodes