put undo file part declaration in alphabetical order
removed Document.export
retain document before completing so proxy doesn't expire before handler is called
added top-level loadAppDataDocument function
use synchronous completers to avoid retaining future results
Merge pull request #5 from sirctseb/upstream-master

Update to match JS api