Add serialisation support for the new 'include_end_date' property
Add DatePeriod's __serialize and __unserialize methods (#8464)