Corrected workspace based filtering of ServiceInfo in JDBCConfig, fixes GEOS-6332

Fixed several bugs where JDBCConfig was returning incorrect ServiceInfo objects when workspaces were involved.  Includes new unit tests and clarified Javadoc in the main module.