Issue 312 -  fix for unpref'd language order

* Sending in languages without q= preferences resulted in only one of
the languages being picked rather than the first. Since double sorting
the list is probably overkill, I'll prefer the top 10 unprefixed
languages over anything beyond that. Based on the idea that if you can't
find anything by then, you've probably entered invalid language codes.