Postgres dialect for foreign keys now works (as does Mysql). Sqlite foreign keys are not yet functioning. test_all script enhanced to allow easy testing of each or all dialects.