MySQL fixes

1. Storage engine replacement info in the installer was getting defined after other replacements had been done, preventing tables from getting created
2. Minor code improvements
3. Code didn't properly handle all possible values for "Support" from MySQL's SHOW ENGINES list