Partially fixed the pylint errors

Fixed several errors:
   E1003
   E1101

It is impossible to fix all E1101 errors: looks like we have
problems with outdated DataBase models.

Change-Id: I46863c553f033e5f9e4ae9cb9c20e297c099a114
Partial-Fixes: bug #1281164
Merge "Partially fixed the pylint errors"