Fix merge users command.

Sometimes user records cannot be merged because the result
is an identical record. Manual transactions are used to
only select the ones that work.

Result fixes broken test "askbot.ManagementCommandTests.test_merge_users"