Fixes following Kenton's code review

* Change logic for parsing accept header
* Rename AcceptPair to AcceptedType
* Rename priority to qValue