Implemented input validity checks in EventManager.add method

Validity checks in add method implemented. Checking validity of date,
time and duration (if integer)