Fixed #19677 -- Introspection of recursive foreign keys under SQLite.

Thanks Simon Charette.
Fixed #19676 -- Supported 'self' foreign keys in inspectdb.

Thanks Georgy Kutsurua for the report and Simon Charette for the patch.