Bug 1026438 part 1 - Pass HandleLinearString instead of jschar+length to regexp code. r=bhackett
Bug 1026438 part 2 - Make irregexp char sampling work with Latin1 strings. r=bhackett