Issue #2249723 by andrei.dincu: Change hook name from hook_field_attach_rename_bundle() to hook_entity_bundle_rename() and from hook_field_attach_delete_bundle() to hook_entity_bundle_delete()