refactor queries to make it possible to add the "today" filter
Merge branch 'master' of https://github.com/kalidasya/OpenArena-Stats