Add GetParamsMixin

Re-use this.  Why isn't this on the base class?
Merge pull request #2350 from dimagi/filter_mixin

Add GetParamsMixin