Integration with closure compiler (in dojo build system)

By default CKEDITOR impossible to run as part of production dojo application, because ckeditor loads it is dependencies with local mechanism. But closure compiler when processing js files guess that all files are AMD ready. 
So i have included files which will specify scripts which should be treated as AMD ready and scripts which should be copied only.