Support specifying "only" a given set of entities

Factories should implement the purge method to delete all entities of
the type they manage before creating new ones. Use this in your steps
when the overall set of entities matters - for example if
implementing a "most recent" or similar feature - to ensure a clean
state.