Implemented attribute filtering

Implemented functionality that filters the returned
attributes on a search like the python-ldap module does.