MODE-1822 Improved how the transactional caches handle persisted-but-not-committed events

This commit includes some minor changes to ensure that all events resulting from a save within the context of a transaction are properly handled by all transactional workspace caches associated with that transaction. This will hopefully improve performance by clearing the workspace cache less frequently.