What do cattle, railroads and neon motels have in common? They helped shape the barrier island’s evolution into a summer vacation destination.