GUI-568: Modify how curly braces are escaped (and unescaped) in templates

Also remove unnecessary escaping in JSON and obsolete escaping template extension code

https://eucalyptus.atlassian.net/browse/GUI-568
The point is, Angular doesn't evaluate double curly braces as expressions when the curly braces are strings in JSON payloads, so there's no need to escape there.