Made priority matching return item from priorities in favor of headers from user agent
Merge pull request #22 from abstrus/master