Improved stop for each of the Node images

Properly listening to the SIGTERM event and shutting down the selenium
node.

Part of #10