stlink-common: add Intel HEX file handling of flash write
stlink-gui: add handling of Intel HEX files

Also improve error handling when populating memory store from file.
stlink-gui: re-read memory after flashing