imported OsmApi 0.2.5 from svn.openstreetmap.org