Fixed up BYDAY parsing and validation, added tests.
Added buildRecurrence() to create recurrence based on parsed rules.