Added method for combining UIImage and metadata in the form of NSDictionary and returning NSData with metadata intact