AbstractDbEnvironment: move setAutocommit(false) to afterConnectionEstablished

This is to allow easier overriding of post-connect behaviour, especially in environments where transactions are not supported. (In particular - this is supposed to help #326).