Added containsEvents function to PeriodInterface and PeriodAbstract
Exclude .idea files