Bug 1034689 part 2 - Add AssignJSFlatString and use it. r=bz,terrence
Bug 1034689 part 3 - Fix remaining places in Gecko to handle Latin1 strings. r=bz