Tie side-effect visibility to 'immediate' mode

If we are in immediate mode (ie not a transaction), then side-effects
should be visible per-request. If we are in a transaction then we
don't need to compute side-effects because they'll be generated
by the operation replay.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>