Fixed Range::contains(\DateTime)

Reimplemented the contains method in PeriodAbstract class