Merge pull request #54 from mikeneiderhauser/master

Added formatFlash function fixed sector erase bug
switching to atomic blocks and adding check password function
Merge remote-tracking branch 'upstream/master' into usmerg