CDK-844: Update delete command to delete views.

The delete command will now detect view URIs and delete just the content
using View#deleteAll (subject to deleteAll's limitations). This is
guarded by a check that validates the view matches the requested URI
because this is destructive. If there is an option in the requested URI
that isn't in the view's URI, then the command fails. This catches typos
in field names that are not recognized as real constraints and not added
to the view.
I added a direct test. I'm not entirely sure where this would go or if it would be useful in other places, so I haven't moved it. If we need similar logic elsewhere, we can move it later.