Fix crash (null pointer dereference).

When accessing the path property of a RouteSegment, QtLocation will
crash when trying to create a QJSValue. A call too QQmlEngine::contextForObject
returns a null pointer because a context has not been set. This patch
fixes the problem by properly setting the context when creating the QObjects.

Change-Id: I9dc4a1e7c1b5b6db64a54c21121e72272f333ab4
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix drawing of Open Street Map routes.

The coordinates for open street map routes were off by a factor of ten. It
seems that the route data generated has changed since this code was
written.

Task-number: QTBUG-33849

Change-Id: I3996963aa2206c379946ca7aafb15f0104d0fd8a
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>