Fix HERE qgeoroutexmlparser and add legs support


All route segments after the second waypoint contain broken paths.
This patch fixes it refactoring the parsing logic, also adding support
for route legs.

Change-Id: I30ec9e889a5e16bf81c4a0caf1b59fc895b7ea5e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commit5a33ef5ef4b82714dc6b41eb8badc23be4a42fdf
parent3bd2541f84be5200a54c7565074ea22992397c79
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeWed, 5 Sep 2018 10:45:58 +0000