Field API update

field entities now have direct access to the entity they are attached
to:

$field->metadata->entity