fixed issues in interval for intervals > 23rd
Fixed cases of reused lists in duration function definitions
added test for large intervals
Converted @apply property syntx.
Merged master.