Parses a set of headers that take q values to determine the most preferred one.
It returns the result in the form of a sorted list of list, with every element in
the list having the same q value. This means the highest priority items are at the
front of the list. The container should use its own internal preferred ordering
to determinately pick the correct item to use