Fixes for robottelo.api package

Fixed some of the pylint warnings and left others to be handled in a next refactor
Yes https://docs.python.org/2/howto/logging.html#logging-variable-data