This Massachusetts city combines peaceful beaches, scenic trails, and a downtown filled with global flavors and cultural gems for an inviting suburban escape.