A “lively” Wiltshire town has been named third on a list of England's most quintessential market towns.