[ticket/12426] Rework of user search

Changing LIMIT to $db->sql_query_limit
Rework of search in memberlist.php to conform with phpBB standards.

PHPBB3-12426