Fixing update issues when primary key column non first value in column, GEOT-4746.

Also fixes some null geometry encoding issues in H2 and SpatiaLite.
Merge pull request #404 from jdeolive/jdbc-pkey-update

Fixing update issues when primary key not first column, GEOT-4746.