GeoCoordinateParser: Improved direction detection

Direction may be specified either at the end or the beginning of a coordinate segment.

Change-Id: Iebbb52ac0d52a537af1524ce1d7107a6de01848c
Refactoring of GeoCoordinate parsers

(bug 50111)

Change-Id: Ic3c72b6d58251e8067e5b93ec369a5f857ae0997
Merge changes Ic3c72b6d,Iebbb52ac

* changes:
  Refactoring of GeoCoordinate parsers
  GeoCoordinateParser: Improved direction detection