Don't blindly trim to 50 results on search
Don't blindly trim to 50 results on search

Instead, preferentially keep exact matches and prefix matches.

Closes #1477 by making "Rat" searchable again.

gfldex/doc,MasterDuke17/doc,perl6/doc,stmuk/doc,jonathanstowe/doc,jonathanstowe/doc,dmaestro/doc,gfldex/doc,stmuk/doc,antquinonez/doc,gfldex/doc,perl6/doc,stmuk/doc,dmaestro/doc,perl6/doc,gfldex/doc,MasterDuke17/doc,MasterDuke17/doc,antquinonez/doc,dmaestro/doc,gfldex/doc,tbrowder/doc,dmaestro/doc,jonathanstowe/doc,stmuk/doc,MasterDuke17/doc,perl6/doc,antquinonez/doc,dmaestro/doc,jonathanstowe/doc,tbrowder/doc,tbrowder/doc,antquinonez/doc,tbrowder/doc,jonathanstowe/doc,antquinonez/doc,perl6/doc,stmuk/doc