Bug 1052387 - Don't save session history if clearing history on exit. r=bnicholson a=sylvestre