Database: allow multiple table join over different keys [Closes #1030]
Database: remove support for inner join (BC break!) [Closes #1022]
Merge pull request #1050 from hrach/join-builder

Join builder