Multi or no geom field

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