fileadd: report success and failure with JSON under Ajax
add missing |raw for thumbnail display on image edit page
update the required modules list
update tests to skip when optional modules aren't available