Chocolate for most of its 4,000-year history was actually consumed as a bitter beverage rather than as a sweet edible treat.