Tweaks to allow file to load into  MySQL 5.5

* Convert 'Type=InnoDB' to 'ENGINE=InnoDB'
* Add a few missing 'DROP TABLE IF EXISTS' commands
* Fix a few syntax errors (extraneous or missing commas)
Rename the MySQL schema file

The build script looks for a file named schema.sql and crashes without finding it.
Comment tweaks
Fix permissions