PROV-571 Batch delete now respects can_batch_delete_<table> actions.

Also did some visual cleanup and made sure item-level and type-based
access control are actually respected.