Delete associated v3 app when deleting the last v2 app.

[#84433072]
Refactor space presence validation out of AppModel

- move the into AppsHandler, will need slight improvement if we chose to
make space_guid updateable.

[#84433072]