More https correctness
Document how to use the GeoServer REST API to create GeoGig data stores and layers with the geoserver plugin.
include PK in attributes when importing from postgis

Fixes #792
Guard against NPE in LocalRemoteRepo.close() and make it idempotent.