IOService: add isImageData(String) method

This method returns a boolean indicating whether the given source string
contains image data or not. This method is useful for the image
drag-and-drop handler to determine whether it supports a given file.
WIP