Added functionality to show the average star rating for reviews for a product

Signed-off-by: unknown <cnwnh1@cnwcb5a.cnw.co.nz>