Added a checkHasDocumentAccess method
Uses the SCOPE_DEPTH to determine how far to walk up the scope so
that the correct value for scope_path is set.
Patch by: Sverre Rabbelier
tinyMCE.addI18n('en.example_dlg',{ title : 'This is just a example title'});