OTA request flag, reset reason added (now with added sauce)

source code for previous commit, plus additional fixes to logic flow
fixed bug preventing BL from jumping to main on first-ever serial download