add command_history and the command_history_reset and command_history_ok
functions
fix some whitespace issue
allow to set log_cmd and log_cmd_missing via environment variables
fix remarks
Merge pull request #9 from stdweird/command_history

Command history tracking and utility functions