query cache and related session methods
all models now guaranteed to be merged back into the session when a flush fails; merge error fixes for new and deleted models
errors now properly cleared during flush
fix merging errors for operations that are never performed
pass through raw errors for non-model operations; don't merge into session
containerize query cache
added shouldCache method to query cache