Improved FLASH_Update() method - make OTA Update more reliable
FLASH_Update-Erase Flash pages for failure and return next_chunk_index
Merge pull request #19 from spark/bug-fixes

Improved FLASH_Update() method - make OTA Update more reliable