join table only once
join only once per table and clause
fixed bug where joins were performed multiple times triggered by both where and order clauses
Merge branch 'master' of https://github.com/alexei/acme-orm