[ticket/11201] Move preparation of hidden fields to type class

PHPBB3-11201
[ticket/11201] Move custom template variable assignment to type class

PHPBB3-11201
[ticket/11201] Fix construction of dropdown type once again

PHPBB3-11201
[ticket/11201] Change type from integer to service name

PHPBB3-11201