Do not check for the validity of all recent tables on initial loading.

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Count hidden tables aggregatively rather than for individual database

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Disable finding child referenced when DisableIS is false.

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Get foreigners just once for table and use it for all columns

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Get child references for the whole table at once.

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Merge branch 'master' into Performance

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Fix test failures

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Merge pull request #1381 from madhuracj/Performance

Minor performance improvements