Properly convert quaternions to Euler.

To "save" a dimension we store x, y, an yaw in the map. We convert to
Euler just before integrating to the map and back to quaternion before
generating the json.
Merge branch 'master' of github.com:creativa77/map-annotation