Clean up DbConnection / IdoMysqlConnection.

Refs #4969
Fix incorrect column name in the documentation.

Refs #4969
Refactor DbConnection::CleanUpHandler.

Refs #4969
Merge branch 'feature/refactor-ido-cleanup-4969' into next

Fixes #4969