Changed template tags

The template tag <% and %> were causing problems with some
configurations of PHP. Changed this to use {{% and %}} - these are
simply replaced using a regular expression before passing to
Underscorejs template.