Fix so that H_FILES and MOC_H_FILES show up in Qt Creator project view

Even if they don't have a corresponding .cpp file.
mitk::ImageWriter: Try to create the output directory if it does not exist
Pass through the image's MetaDataDictionary to the ImageIO writer