Localize dates in survey report and standardize controller

* Let's make the formatDate a method (instead of a global function)
* Let's translate surveys dates
Merge pull request #1377 from mlocati/fix-surveys-date-in-report

Localize dates in survey report and standardize controller