Expose owner in db definition
Tests for owner param
add support for postgis

rhel support added by @mcanevet, but the branch has been squashed.
thanks!