Places fix score and quality with autocomplete integration test

I paste here a comment that have been removed accidentally by github:

Maybe we can factorize these two methods together:
```c++
template<typename Cmp>
static std::vector<fl_quality> sort_and_truncate(std::vector<fl_quality> input, size_t nbmax, Cmp cmp) {
    typename std::vector<fl_quality>::iterator middle_iterator;
    if(nbmax < input.size())
        middle_iterator = input.begin() + nbmax;
    else
        middle_iterator = input.end();
    std::partial_sort(input.begin(), middle_iterator, input.end(), cmp);
    if (input.size() > nbmax){input.resize(nbmax);}
    return input;
}
```
And then, our 2 methods:
```c++
std::vector<fl_quality> sort_and_truncate_by_quality(std::vector<fl_quality> input, size_t nbmax) const {
    return sort_and_truncate(input, nbmax, [](const fl_quality& a, const fl_quality& b){return a.quality > b.quality;)
}
...
```