monitor: add support for dynamic command tables

This adds the scaffolding for creating dynamic command tables. Once a
monitor is initialised with dynamic command tables we can then add
additional commands to the monitor on demand. We keep the old static
method around for transition purposes.
monitor: refactor the dynamic table creation
monitor.c: fixes
android-commands: remove rotate command
ranchu.c: add stub console handler