[ticket/11201] Move validate_profile_field() to type class

PHPBB3-11201
[ticket/11201] Rename test file for now, so the other tests run

PHPBB3-11201