changes for use with python3: used 2to3 for OsmApi.py and setup.py