Parse and validate more complicated intervals, fixes #6 and #7

Now the interval can't be less than 30 minutes.