Add 'q macro for easier relational db querying.