medium: ui_node: Fix handling of default arguments (bnc#889673)

Syncronize the code for some node commands with the documentation,
and allow the node name to be omitted where it makes sense.