Traces of ancient vineyards that date back 1,000 years were discovered in the terraced fields of a medieval village in Spain, according to a new archaeological study.