Multi or no geom field

Latest 2 commits add support for a-spatial layers or ones with multiple geometry fields (if GDAL >= 1.11). Previous commits are from the 'fixes' branch