Supported inline foreign keys in SQLite.

Extended GenericGenerator which can now additionally generate an extra
clause with foreign keys declared with a table.