Merge pull request #6 from icaughley/master

Fixed issue: Nullable parameter passed to method that hates nulls.
Move to using geolatte.geom library to represet geometry types
Determine whether a type is peristent based on characteristic type or whether it is a reference or an enumeration
Simplify column type checks
Enable the postgis extension when there is geometry columns
Split the 2d and 3d geometry columns into separate constants
Generate the correct sql type for geometry columns
Only allow the specification of dimensions for raw geometry columns
Remove WIP comment
Rename database setup script
Remove commented code
Remove unused constant
Validate the geometry constraints under postgis
Support the configuration of properties
Support a gist index_type
Make sure that properties are initialized on access
Make sure queries are correctly escaped
Support limit and offset in jpa query metadata
Support order_by in jpa query metadata
Ignore patches in the dir