Update GPS parser.

Timeouts and cleaner inner-workings.
Does not hang in case of dead gps chip.
Update demo application to use one second interval.