These towns all have fewer than 10,000 people—but they can rival larger cities when it comes to good food, culture, and quality of life.