* Add new flag '-c' that makes 0xFFFF run as a shell
* Split the connect_via_usb() code from main()
* Add console handler for shell like usage of the flasher
- The new function works like the old rf_extract one, no parameters has
changed.
- Now a complete dump/restore will be possible.
- Check for badblocks while copying data
- Shows information about the partition
* Better use of query_error_message() for debugging
adds support for setting and clearing the rd flags (no-retu-watchdog,
serial-console and the like).
The interface to it is a bit cryptic (construct your own hex number) but
it works like like 'chmod'.