Use AvalonEdit code completion filtering/ordering logic for search results

Not sure whether GetMatchQuality should be further factored out. Search speed seems to stay acceptable.