APY-70: Foreign Keys support for SQLite3

Added support for FKs under SQLite3.