Mattdrayer/api quality

Lots of little fixes to address various PEP8 and PyLint violations in the api_manager code