Removed legacy transaction management per the deprecation timeline.
Fixed transaction handling in two management commands.

Previously, when createcachetable and flush operated on non-default
databases, they weren't atomic.