MDL-41034 fix TinyMCE managefiles plugin for textareas that do not support file uploads

The current managefiles plugin assumes that every file manager will be created
by either calling use_editor without filepicker options ($fpoptions) or with
filepicker options that include options for the moodleimage plugin.