Fixed a bug where if a popup was created before the gps pin then it would
never go away.
Added the functionality for sending updates to OSM for ways.
Merge branch 'working'