Sort doc search results by their total module path length

With the assumption that more commonly used items are going to be higher
in the module hierarchy and have shorter names, so this is a good
heuristic for more important and more relevant to the person searching
the docs.