Add coverage for container_subviews

Rename `has_inherited_staff_lock` to `ancestor_has_staff_lock` to clarify that
an xblock does not inherit staff lock from an ancestor if the xblock sets its
own staff lock explicitly.