add validation to product model
add average_rating method to product model
add validation to category model
fix specs for category model
fix specs for product model
add validation to review model
fix specs for review model