OBMFULL-6022 Speeds up user search query.

This helps in some cases.

Port OBMFULL-5923 to next branch.
OBMFULL-6022 Removes useless parameter.

Don't try to give two parameters to a function which only takes one.

Port of OBMFULL-5923 to next branch.
OBMFULL-6022 Ensures _userpattern only contains lowercase data.

Port of OBMFULL-5923 to next branch.
OBMFULL-6022 Use plain LIKE when searching for users.

Port of OBMFULL-5923 to next branch.
OBMFULL-6022 Adds lowercase migration for _userpattern.

Port of OBMFULL-5923 to next branch.
OBMFULL-6022 The DAO inserts lower case items in _userpattern.

Port of OBMFULL-5923 to next branch.