GUI-568: Escape curly braces on key pair, security group, and scaling group detail pages. Also escape curly braces in MarkupSafe objects.