A study from researchers at the University of British Columbia found that cows, like people, lean toward optimism or pessimism.