[ticket/12890] Allow specifying table alias for search SQL

PHPBB3-127890
[ticket/12890] Add custom profile field search fields in template

Currenty needs to be divided into two columns

PHPBB3-12890