Implemented Ldap Filter

Hello,
I have implemented the ldap filter that is present in Redmine but not in Openproject.

This was mainly done for internal use and no extensive test has been made.

Thanks.