Add support for debug builds.
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
Added shallow_flash.bat to make flashing on windows easier
Merge branch 'master' of https://github.com/Mozilla-TWQA/B2G-flash-tool into shallowflashbat
Removed Windows hack as last commit fixed it
Added note about runnign adb & fastboot in script folder
Remove /data/local/storage from the device before restoring it from the profile backup.
Using [[]] to replace []
Merge pull request #289 from askeing/small_fix

Using `[[...]]` to replace `[...]`
Merge pull request #287 from khuey/rm-data-local-storage

Remove /data/local/storage from the device before restoring it from the ...
Merge pull request #285 from SteveALee/shallowflashbat

Shallow_flash.bat makes it easy to flash on windows + cygwin
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...