Added formatFlash function fixed sector E bug

Added function to format Flash memory.  Fixed logic bug in
sectorZeroErase.  Fixed bug in flash_test.c that was not running the
sector 0 tests.