Geopackage: write spatial index in process & wfs

! Depends on https://github.com/geotools/geotools/pull/634