Fix: Don't assume builtin plugins are always active
Configure AttachmentsController for Wysiwyg

This was previously configured in Ckeditor plugin which is the wrong
place to do it.
Removing hardcoded references to FileManager
Fix: getimagesize still triggers a warning for missing files