Add query for getting owned tasks with expiration date before specified date

Query will be used in jbpm-console-ng to get all due tasks for certain date (tasks with expiration date before the certain date).