Allowing calling query methods as statics.
Add hook for creating models.
We're now passing the attr to the query.
Add support for transactions on queries.

In concert, add support for integration tests.

Closes #10