Added formatFlash function fixed sector erase 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.