Fix bug #8725R: fix collapsed geometries by ST_simplify function of postgis

This patch fixes the bug of ST_simplify function for postgis that collapse geometries (polygons and linestrings) using big tolerances of simplification.

Changes:
+ fixes the bug of ST_simplify function for postgis <= 2.1.0
+ define better the tolerance of simplification on provider side, now the rendering is faster!