libctrl: Move bulk of control node lookup inti libosmoctrl

The control interface user now only has to register a very short
node lookup function callback.  This function is optional, and only
required if hierarchical command lookup should be supported.
2 files changed