Closes #64. Fixed handling of timezone at #calendars and #dates
Closes #175. Implemented literal substitutions