Support tmpl:startTime/endTime expansion on Activity.

Implemented startTime and endTime expansion for activities as per the documentation.