Oldest known dog breed reveals hidden human history