Allowed mocking tables with foreign keys.

Foreign keys are not allowed in temporary tables so the create
table query for the mocked table failed.  The solution was to
remove the foreign key constraint from the create table query.
Also allowed 'show ...' queries in general.
Merge branch 'master' of https://github.com/emmetog/mvc