Bug 1071104 - Remove legacy "hasWrittenState" flag from SessionWorker r=yoric