document: store on-disk lines in unicode (decoded) format
* as it makes it easy to compare to scintilla.text
* fixes a bug in getUnsavedChanges() which was comparing bytes to unicode

(integrated from master branch change cc67302 by Todd Whiteman <toddw@activestate.com>)