Add weeksInYear and isoWeeksInYear

This implements #1289. I think the week and iso week stuff should go in
a separate calendar at some point.