Fixes for robottelo.api package

Fixed some of the pylint warnings and left others to be handled in a next refactor
Are you sure you don't need the ``%`` here?