Sqlite backend support for loading transitive closure in staging tables
Added unit tests and test data along with it.
Added support for Pg backend to load transitive closure