Failing unittest demonstrating issue #481
Fix picking the best match in a QueryTable (#481)

By using an Iterable rather than a PriorityQueue. Iterating over a
PriorityQueue is (surprisingly) not ordered.
Merge pull request #484 from raboof/orderedquerytable

Fix issue #481