Standardized ical parser and creator

The iCal parser is found in date_api_ical.inc, which is not included by default. Include that file if you want to use these functions:

This feature can be used to parse vevents, vlocations, valarms, and all kinds of timezone options and repeat rules for ical imports.

The ical parser is used by Feed API to Import iCal Feeds.