Converted remediation pages to Perl/TT instead of PHP.

Some remaining tasks need to be completed:

- handle the brower's preferred language when loading the template
- enable back the preview option