Refactoring winery ratings.  Fixed a problem in the scripts which computes the average.  Intermediate commit for iPhone testing.