first version w/rudimentary fk's working

Only supports fk discovery from sqlite, simple parent tables (child
properties) only, no contained collections (child tables).
lotsa cruft, don't use this version, interim checkin only.