Rework template rendering of opening hours

Use {% regroup .. %} to group opening periods for the same day.

Also patch in missing template include