libcli extensions

Hello,

Please consider merging the following two libcli extensions:
 - Hooks for default commands (exit, enable, etc.)
 - Tab completion callback for command arguments

Thank you,
Kevin Barrett