Fixes after review by thiemowmde

Correct and adds a few comments
Refactors how getTypeName works in MySQLTableDefinitionReader