Looking for a way to live a longer, happier life? A new study says you should try being more pessimistic.