refactor filter transforms
refactor filter transforms

frustrated with the old method and also wanted to be
able to have a single ES filter for date ranges instead
of ANDing 2 together

dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq