About 97 percent of Americans consider their pets to be part of their family. But courts have mostly taken a different view.