New feature: Frequency capping survey displays. Surveys can now specify a view period, and a maximum number of times it can be displayed during that period. The view period is a sliding window.
Merge branch 'ent_surveys' into dialog_surveys
Use new frequency capping code in the dialog surveys branch.