inkscape python cleanup

general python guidelines, readability fixes, some pep8, some
documentation.
incorrect param names fixes. Ex: str to strng
corrected a bit with the metadata for reference and usability.
still needs a bit of work.