New study suggests personality traits such as stubbornness and optimism lead to better quality of life.