Closes https://github.com/espressif/esp-idf/issues/4845
1. simplify console examples 2. add "quit" command 3. support console command overwrite 4. add API reference