Add AbstractProduct rating calculate function
Merge pull request #688 from soloweb/f/rating_calculation

Add overridable function to calculate product rating