Fixed issue when importing postgis views

Do not use ordering when importing a view, since the lack of a primary key will cause geotools to fail
Merge pull request #764 from volaya/views

Fixed issue when importing postgis views