removed utf-8 bom in templates
decode utf-8 in order to be compatible with google.appengine.ext.webapp.template.render()