Fixed all pychecker warnings as well as some pylint ones.
Fixed all pychecker warnings as well as some pylint ones.

tiborsimko/invenio-accounts,inveniosoftware/invenio-accounts,tiborsimko/invenio-accounts,inspirehep/invenio-accounts,inspirehep/invenio-accounts,tiborsimko/invenio-accounts,inspirehep/invenio-accounts,inveniosoftware/invenio-accounts,inveniosoftware/invenio-accounts