Added generic SQL fetcher (from table.io.gravityspy)
This PR separates the SQL query stuff from gwpy.table.io.gravityspy
into a generic SQL fetch system, where users can pass their own sqlalchemy.engine.Engine
to query any database.
This required a re-write of the selection parser.