Allow schema to be set, SRID functions.

Some refactoring required to minimize resultant unpacking and repacking
of table and schema. Some slightly evil sniffing of types to distinguish
between queries and tables in internal methods. Set default values for
schema and geometry column.
Fix bugs
Fix bugs with getting SRID
More intersect keywords

Check intersecting all/no features in query/table