bug1010442 - Implement before query API for past events

https://bugzilla.mozilla.org/show_bug.cgi?id=1010442
the order by query needs to contain two arrays. So this would need to be something like `[[ 'beginDate', 'DESC' ]]`