New version and some improvements

Additions:
- alias for quoted field names, useful for example when selecting from
multiple tables
- methods for constructing simple where clauses using the DatabaseQuery
object (no more regex-hacky things)
- class for constructing complex boolean expressions as a WHERE clause
(needs more testing though)
- some bug fixing