Fixed test_commands. Cleaned commands class.
Added clear_input to Command
Fixed escaping
Fixed up/down arrows
Fixed escape not cancelling search. Conflict between input_search_cmd and input_clear_all_cmd regexes