A study in the journal Science finds that just three genes control the wide variety of fur types found on all different breeds of dogs. Karen Hopkin reports