Added dict/list-like database accessors
Add truth value testing to database rows
Fix database API to not group if requesting all fields
Allow simple queries in database API (call syntax)
Use new simplified database API in task
Add workaround for missing from encoding on py2.x linecache (Fixes issue 20)