Apply widget transformations to entityreference fields

Adding support for entity reference fields comes at zero cost but is
quite useful as their option lists can be even longer than in taxonomy
fields.

Since both taxonomy and entity references use a long list of checkboxes,
there is no need to make any modifications in the internal structure of
the replacement widget.