Only show constant when there is one.
Use a slightly more advanced check for inverted strings.

This makes things work with non-ascii variable names, as well as with
inverted barewords that aren't inverted back right away.  It does fail
in some circumstances, but this should help.
Make inverting logic easier to extend.
Escape quotes in inverted strings.
Don't double invert when possible.
Update composer.