Flattened imports
Made limit/offset into scalars
Added key type lookup
Simplified DBModel init, fixed select query (it wasn't correctly returning model objects)
Cleanup
Allowed setting nil to scalars on models (sets to 0)
Made table columns a set rather than an array