Creates a mimedir vEvent object from a given list of tags.
@tags: List of tag-value pairs.
@Returns: New mimedir vEvent object.
Creates a list of tags and values from a mimedir vEvent object.
@vevent: vEvent object to convert to a tag-value list.
@Returns: New allocated list of tags and values.