[ticket/12426] Rework of user search

Rework of search in memberlist.php to conform with phpBB standards.
Rework memberlist search to include custom fields

This PR replaces https://github.com/phpbb/phpbb/pull/2344
No changes made after the last review. Still waiting for the CPF validation.

PHPBB3-12426