2 Intentions for string templates:

the first removes curly braces from a simple name variable, ${x} -> $x
and the second does the opposite $x -> ${x}
issue: KT-4550
fixes for previous review: https://github.com/JetBrains/kotlin/pull/379