function getCurrentDocument() {
        return _currentDocument;
    }
Returns the Document that is currently open in the editor UI. May be null.
When this changes, DocumentManager dispatches a "currentDocumentChange" event. The current
document always has a backing Editor (Document._masterEditor != null) and is thus modifiable.
@return {?Document}