One morning last July, Brookline resident Neal Heffron found Dani, his 18-month-old Australian shepherd with a sleek coat and unbridled energy, collapsed in her bed. She had been vomiting, suffered a bout of diarrhea, and overnight had become too weak to lift herself out of her crate.