Correct sorting of long list of accept header

v8 does an unstable sort for arrays longer than 10 elements. Added an 'originalIndex' property to the parsed array, so order of equal-quality elements stays the same.