Refactor and remove code duplication
Add a Coordinate class

Used on tools.wmflabs.org/geohack
 * @author Magnus Manske (origional)
 * @author Kolossos (origional)
get rid of notices / warnings in Coordinate
Add further Coordinate functions
Use Coordinate in GeoImport