CRM-12053 rationalisation of datefilter functions

This patch fixes a bug introduced on previous related commits & also tidys up the function signature to get rid of the boolean "act as if the report class is calling me" in favour of a variable that accepts additional operators & making the report class pass them in