[PATCH 3/6] vty: Generalize ournode_exit() and ournode_end()