restructured bootloader logic

bootloader responds to serial commands on all resets
bootloader enters OTA routines only after watchdog reset
serial and OTA bootloader timeout logic improved
serial timeout ~ 200ms
OTA timeout ~ 10 seconds
both bootloaders ignore garbage inputs and jump to main app