The nsACString type was used without prior declaration.
This lets us replace moz_xstrdup() of string literals with AssignLiteral(), among other improvements.
MozReview-Commit-ID: ARS1aTugYjl