Externalized takeoff dectection in a function

- isAboutToTakeOff now embeds takeoff detection code
Finished implementation of flight phase loop 0 behavior
Updated flight phase 0 camera processing, added flight phase 0 to 1
transition code
Added an internal function to process flight phase transitions
Updated flight phase 1 camera processing code, renamed constant

- DELAY_FRAGMENTATION has been renamed to VIDEO_FRAGMENTATION_LOOPS
Updated flight phase 1 camera processing, added flight phase 1 to
2 transition code
Updated flight phase 2 camera processing, added flight phase 2 to 3
transition code