Supports now plugins: onBeforeRestore and onAfterRestore.
onAfterSave added. getNewId(…) is now public.
onBeforeRestore(…) and onAfterRestore(…) added.
USERPREF_KEY is now public.
getCalendarProperties() is now public.
Migrates now calendar ids of filter templates.
serialize and deserialize is now public.