Added the "bestmatching" configuration keyword to enable pkg best matching.

See the NEWS file for more information.