Add primary key to 'ALTER TABLE' in MySql

This is at least needed when adding a autoincrement column
When changing from a non-primary index to a primary index, the dropped index isn't named PRIMARY
[DBAL-586] Fix failures introduced by PR and adjust code.
Merge branch 'DBAL-586'