Make the instances endpoint know the difference between pending and failed stages
Rever the recursive delete error code change
Woops wrong wording in errors
Bump errors (again) to unbreak build (again)
Final try
Small refactors
REST deletes check if there are associated children.

- Create helper methods on a model object to know if there are any associated children to it
- All REST deletes now check if there are any associated children and if so return a NonEmpty error code
- V1 REST deletes are not affected
- Specs now have a one_to_many_ids_without_url which includes all associations which need to be checked if they are deleted but dont have a sub url
Recursive deleting of all models.

- Note that QuotaDefinition will delete the entire Organization
- Note that Space will only nullify the Default User
Create temp directories in config specified folder
Backfill test that user can't create models without permission
prevent two CCs from updating the same row at once

[#47767303]
fix apps becoming unstoppable after many concurrent updates

Previously stop events were registered based on the most recent start
event by timestamp. With many concurrent start/top requests, it's
possible for start events to occur in the same instant as determined by
the database, thus the stop event would potentially be registered for a
start event that already has a corresponding stop event. This would make
the stop request fail because of uniqueness constraints (by kind and
run_id).

[finishes #47767303]
fix stopping an app that already has a stop event

this is an edge case, but would leave the user being charged for an app
that they cannot stop or delete

[finishes #47767303]
Temporarily xit the NotStaged exception until Frontend Team catches up
Drop service_plan_guid from query param

  It should never have worked
CCNG accepts "extra" information

[#46132685]
Document logging configuration
WIP for buildpack cache
Add specs for upload buildpack cache
Refactor LegacyStaging to Staging