Connection hiding in the Node Graph

This implements "Show Input Connections" and "Show Output Connections" checkboxes in the node context menu in the Node Graph. They do what they say on the tin. Hidden connections are displayed as minimised stubs so there's still something there to interact with and to distinguish nodules with hidden connections from those with no connections.