GEOT-4229 fix join of more than two tables

Signed-off-by: r0bb3n <r0bb3n@gmx.de>
Fix postgis tests for joins
Merge branch 'master' of git://github.com/geotools/geotools