Add an LDAP filter to restrict users that can log in

Added the column to Sites and implemented the basic use of this new filter.
Still to be properly tested against a real LDAP server.

refs #1257
Small changes on LDAP log messages and strings

refs #1257
Merge branch '1257-add-ldap-filter' into branch-v2

refs #1257