ENH: Throw an exception if getNode does not find a node
Novice developers were often confused by why their Python code did not work when they have a failed MRML node lookup using getNode function. The problem was that if a node was not found then no errors were reported immediately and the unexpected None value in the variable caused errors later.
Fixed it by throwing a ValueError exception when getNode does not find any nodes.