add a function for converting the gps timestamp to standard time.h format that can be used with the RTC
raise event flag on fix
merge GPS improvements from my experimental branch