Add logging and postgis datastore support.

Merge to gn develop
Configure the sequence used for the ids of integer based ids in the domain objects.

This is required so that the initialization phase can add data to the tables via SQL and still have the sequences be high enough to not cause conflicts.