Some fixes to make ldap model work a little better
Merge branch 'master' of http://github.com/batesbog/phporm