Stop JDBCConfig from exhausint iterator when paging.  Fixes GEOS-6331

Removes the redundant trimming of paged lists in JDBCConfig.  Also fixed a broken unit test.