Docstrings and tidy up of osm2mapaction.py

Attempt to update osm2mapaction.py to match PEP-8 and
include DocStrings.