expose ace document, reqjired for various plugins
Merge pull request #1671 from ether/ace_document_expose

expose ace document, reqjired for various plugins