[ticket/12012] Add a unit test for removing a column with indexes

PHPBB3-12012
[ticket/12012] Drop and recreate indexes when removing columns

PHPBB3-12012
[ticket/12012] Handle begin and commit transactions in tests

PHPBB3-12012