WIP: Add more sophisticated weighting rules for auto completion
Consider type count, visit count and visit time for auto completion.
Fixes: #317
Edited by Michael Catanzaro
Consider type count, visit count and visit time for auto completion.
Fixes: #317