Base subquery class subclassed from sqlalchemy.orm.query:Query class. Refactored subquery classes.
Renamed tests module.
Updated setup.py and tox.ini files.