Create plugin.js

patch #3709 ported to 4.x by prontsevich, see
http://ckeditor.com/comment/123133#comment-123133