fix index flags
Merge pull request #472 from deeky666/fix-index-flags

Fix index flags
add support for renaming indexes
introduce platform for MySQL 5.7 with index renaming support