CORE-1760 Improved test infrastructure

Will iterate over all databases and run minimum sql. Still need to persist results and have a better approach for managing databse state suppliers
CORE-1796 Serialize changelogs as formatted sql