Fixed a bug in flight phase 4 loop.

- function was returning true unconditionnaly the first time.
Modified flight phase transition tests for 1-2 and 2-3

- if GPS is running, time is not taken into account