Add foreign key generation to MySQL.

Generate sql snippets to create foreign keys in MySQL.
Add foreign key reflection to Mysql driver.

Add foreign key reflection to Mysql. It duplicates some code from the
Sqlite driver which should be fixed.
Merge pull request #1339 from markstory/3.0-mysql-fks

3.0 - MySQL foreign key support