Add NOR flash support

The tool now supports boxes with NOR flash. Successfully tested on gb800solo.
Thanks nobody28 for testing.
To avoid problems it's not any longer possible to flash rootfs when the box
uses NAND flash and current rootfs is jffs2. It's also currently only possible
to flash jffs2 rootfs on NOR flash boxes.