test_ogrsf: test ResetReading(), GetNextFeature(), ResetReading(), GetNextFeature() on SQL layers

git-svn-id: https://svn.osgeo.org/gdal/trunk@27326 f0d54148-0727-0410-94bb-9a71ac55c965
GPKG: add support for non-spatial layers

git-svn-id: https://svn.osgeo.org/gdal/trunk@27327 f0d54148-0727-0410-94bb-9a71ac55c965
Merge branch 'trunk' into trunk_travis_macosx