Of/oc 9637

Implement delete and flatten as elective implementations for chef_objects.

This allows for chef_objects to control what data is written to postgres and delete.