query: support for DateTime indexes

also support for BooleanIndex and KeywordIndex.

This implements #20
api: always add absolute_url to the record

Fixes #22
api: added missing return statement

fixes #21