Group Presence Period repeat only for the duration of the Group Calendar Assignment

We should be able to configure a group calendar saying that the pattern
is "from 9:00 to 12:00, repeat every monday morning" with a group
calendar assignment saying "use this pattern from 01/01/2016 until
31/12/2016" and then create another group calendar assignment for 2017
without having to change the periodicity stop date on all presence
periods of the group calendar.

I think it should repeat from group calendar assignment's start date
until min(group calendar assignment's stop date, presence period's
periodicity stop date).


/reviewed-on !125
7 jobs for fix/coding_style_ui_test in 0 seconds
Status Job ID Name Coverage
  External
failed ERP5.UnitTest-Master

01:28:43

passed SlapOS.Eggs.UnitTest-Master.Python2

00:34:02

passed SlapOS.Eggs.UnitTest-Master.Python3

00:15:08

passed SlapOS.Eggs.UnitTest-Master.Python2

00:36:03

failed SlapOS.Eggs.UnitTest-Master.Python2

00:42:05

passed SlapOS.Eggs.UnitTest-Master.Python3

00:14:59

passed SlapOS.Eggs.UnitTest-Master.Python3

00:15:08