allow duration strings to be used for intervals
update godoc comments for duration strings
Merge pull request #28 from xoebus/duration-strings

Allow duration strings to be used for intervals