Core - Add imagefilter function and modify fileupload field to use the filtertype set in options. Currently only works for filters that don't take arguments like IMG_FILTER_GRAYSCALE