a little bit of cleanup
prop/var renaming, class renaming, testing LDAP
test coverage for ImapAdapter