1. add ExtendedProperty support to addCalendarEvent
2. enhance query
3. conform to pep8
4. bugfix