Fix test loop theme
Add support of PostGis 2
Merge pull request #1155 from camptocamp/postgis2

Add support of PostGis 2