[ticket/12890] Cleanup profile field tests' inheritance

PHPBB3-12890
[ticket/12890] Document \phpbb\profilefields\manager::generate_profile_fields

PHPBB3-12890
[ticket/12890] Don't negate odd/even alternating statements in template

PHPBB3-12890