Added test dependency on postgis driver
using proper method to determine object type
closing cursor when adding features, and added support for srs parameter to reproject
returning first non-null object when scanning for files
made open method static
supprot for append cursor