Delete extra Gecko files before shallow flash.
Base on the `flash_gecko()` function of `flash.sh` from B2G project [1].

1. remove /system/media on device (it seems like we don't need this folder...)
2. remove the extra Gecko files on device
3. shallow flash Gecko files into device

[1]: https://github.com/mozilla-b2g/B2G/blob/master/flash.sh#L262-L267
Fix stupid minor bug

If on win64 and both versions of Cygwin installed then 32 bit Cygwin used
console download progress
Merge pull request #290 from SteveALee/shallowflashbat

Fixed stupid minor bug
Merge pull request #291 from zapion/download_progress

console download progress
Added console download progress for window mode.
Merge pull request #292 from askeing/add_progress_for_window_mode

Added console download progress for window mode.
Added flash_local.py for GUI user...
Merge pull request #283 from askeing/clean_extra_gecko_files_before_flash

Delete extra Gecko files before shallow flash.
Merge pull request #293 from askeing/flash_local_GUI

Added flash_local.py for GUI user...