Fixed type
Bunch of typehints were wrong
Migrated most of CalDAV to the new XML system.