fix: trash empty-all button, auto-versioning for data safety, save protection
Trash:
- Added "Empty Trash" button that permanently deletes all trashed
documents with confirmation
Data safety:
- Auto-create version snapshots every 5 minutes (throttled) so data
can be recovered from version history if a bad save occurs
- Set _hadSnapshot=true after any successful meaningful save (not just
on load) so the empty-state protection applies to ALL documents,
not just ones that had a prior snapshot loaded