Added command and tab completion handling.

Events:
- tab_complete_command
Functions:
- register_command
- unregister_command
- set_executor
- set_tabcompleter
Merge pull request #179 from jb-aero/commands2

Added command and tab completion handling.