getAllowed{Users,Members} ignores disabled users
findUsers can find users having uppercase e-mail

DB value of e-mail is now converted to lowercase before comparing it
with input from the user (also converted to lowercase)
Optimized getAllowedResources(sess,facility,user)

 - use single sql query instead of one query per each resource assigned
	 on facility
Merge pull request #487 from Natrezim/getAllowed

getAllowed{Users,Members} ignores disabled users
CORE: fixed authorization in addHosts()

- When calling addHosts(), call getFacilitiesByDestination() from Bl not Entry.
REGISTRAR: fixed authz in copyMails/Form

- Fixed authz conditions when copying mails and forms in registrar.
Merge pull request #489 from zlamalp/fix

CORE: fixed authorization in addHosts()
Merge pull request #490 from zlamalp/authz

REGISTRAR: fixed authz in copyMails/Form
GUI: support for setting preferred unix group name
Merge pull request #491 from zlamalp/prefGroup

GUI: support for setting preferred unix group name