[ticket/12759] Resolve query flooding while displaying large number of custom profile fields

[PHPBB3-12759](http://tracker.phpbb.com/browse/PHPBB3-12759)
move the query into a different function, store the data in $this->options_lang and make `get_option_lang()` return the required data