Refactoring to the handling of dependent item CRUD on the view and WS layer.

Generized various parts so we now just check if a dependent item is within
its parent's subtree, which works for both descriptions and parts of descriptions,
such as access points.
Return unboxed ints from delete methods
Test expansion and cleanup
Don't add the dependent item as a subject but the parent