Made atomic usable when autocommit is turned off.

Thanks Anssi for relentlessly pushing me to implement this.
Removed atomic_if_autocommit.

Atomic now works even when autocommit is turned off.
Remove compatibility hack for atomic inside legacy managed block.

Since atomic is now usable without autocommit (except with SQLite)
this isn't necessary any longer.