Bug 1032238 - Make some API functions handle Latin1 strings. r=luke
Bug 1032726 part 1 - Make ConvertJSValueToByteString work with Latin1 strings. r=bz,terrence