flexedit - bug fix for 'clear' image

The clear button for images didn't add the edited class to the input or
update the save button.