fix minor style issues
remove unused psycopg2.extras
add more logging
fetchLegacyAttributes is private and minor fixups
Cleanup VdcOptions

return dict instead of tuple, rename function.
cleanup permissions

remove unused fields now that we have dict, modify database only after
all entity converted, use bit nicer method to get entities.
cleanup kerberos usage

use popen properly, do not touch user kerberos state during processing,
destroy context when done so we do not have false positives, bit nicer
function names.
refactor the ldap drivers

cleanup hierarchy, drop the multiple level of indirect reference to
attributes, duplicate the attributes to each driver so easier to
maintain and have complete picture, produce driver specific
configuration, and probably more.

good chance nothing works.

major todos:

1. resolve sasl ldap user by name and not by id, as it is not used by id
   anyway.

2. at the simple drivers resolve the domain into server so we can use
   single serverset as we would like to avoid dns issues.
Merge pull request #4 from alonbl/a

More fixups