Feature: Grant leave as a quota every period 

Description 

A leave policy may grant periodicQuota: quotaPerPeriod every week (from a weekday), month (from a day 1 to 28 or lastDay) or everyNDays (counted from the employment start), valid for the period. At the end of a period the unused rest expires and as much as periodCarryOver allows (none, capped, unlimited) is carried into the next period; prorateFirstPeriod shares a first period begun before the hire by calendar days. The run kind periodicQuota books each period under its own key and catches missed periods up one by one. For the statutory vacation type the quotas of a year reach at least the statutory minimum.

Impact 

The migration adds six quota columns to leave_policy. The daily runs book periodic quotas before expiries, and year-end carry-over and entitlement recalculation leave periodic policies alone.