BRANCH 4.1: fixed bug on Sqlite where joins failed dued to bad building
of database.scehema scoping (which is empty on Sqlite)
Merge branch '4.1' of https://github.com/Southpaw-TACTIC/TACTIC into 4.1