Moved the node context manager to the node library

This is is the right place for this facility,originally in commonlib.