added spatialite support and spatialite REST