#45: Refactoring of collaborative filtering prediction 
Version with performance measurement && logging.