Validate Store operation invariants

DevTools now validates Store operations before mutation to catch data corruption early. Invalid operations like removing non-existent child nodes, missing elements, and inconsistent parent-child relationships now throw explicit errors instead of silently corrupting state.