use of LDAPUser and ldapdb to get lists info

In addition, I changed lists from function-based view to class-based
view and
grouped them:
1) Flexible and respects DRY principle
2) Reduce variables and code
Merge pull request #36 from dastergon/cbv

use of LDAPUser and ldapdb to get lists info