NH-3573  - Added query cache statistics in MultiCriteria, and cache put only if enabled

Added query cache statistics when using MultiCriteria, and putting to cache only when put is enabled. 

Statistics handling is based on code from Loader.cs.

This fix can be easly backported to 3.x, could that happen?
Why do we need this check?