Improve field templates for 1:n and m:n

I add the following things to the field view templates of one-to-many
and many-to-many relations:

- size attribute (number of visible elements)
- style attribute (CSS styles)
- required hint if minSize constraint is non-zero