update Field API

$entity is no longer passed as argument to event listeners, as it can
now be accessed through field instance:

$field->metadata->entity