Bug 1013917 part 1 - Some JSString changes for latin1 strings. r=luke
Bug 1013917 part 2 - Add shell functions for testing latin1 strings. r=luke