Fix all SQL files to work with modern versions of MySQL

Mostly involved minor changes, and fixing TYPE to ENGINE. Half of it was mostly
just finding all the places to edit

Signed-off-by: Michael Casadevall <mcasadevall@ubuntu.com>
Fix configuration directives
Revert "Rename the MySQL schema file"

This reverts commit f8533a818b125c7ec4384ad272ee9df841a6a048.
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
Revert "Comment tweaks"

This reverts commit f625cbec89e9d14b177a684948ae365f99ff9e5b.
Fixed MySQL query files for MySQL 5
Fix apache configuration files
Workaround for GlobalRequest until we can rewrite the code base to use local request objects
WIP
WIP