Refactor LanguageNegotiator

Ensure empty/null headers are correctly handled
Fix floating values
Fix issue in sorting algorithm