Science shows that having a pet can be a powerful antidote to stress and a whole bunch of other not-so-fun feelings.