Fixes one bug. Might still need to check something else.
Added extra debugging for running jobs problem.

Signed-off-by: Michel <info@1st-setup.nl>
Renamed this.itemCache to this.itemCacheById
So we can create a second index to the memory cache.

Signed-off-by: Michel <info@1st-setup.nl>
Moved folderProperties from prefs.js to a file below ProfD/exchange-data
This should improve performance

Signed-off-by: Michel <info@1st-setup.nl>
Improved speed for getting period from memorycache.

Signed-off-by: Michel <info@1st-setup.nl>
Clear memory in right places.

Signed-off-by: Michel <info@1st-setup.nl>
Small optimization improvements.

Signed-off-by: Michel <info@1st-setup.nl>
Added function to save incoming xml to a file for debugging

Signed-off-by: Michel <info@1st-setup.nl>
Added functionality to make clear how many items are in memory cache.

Signed-off-by: Michel <info@1st-setup.nl>
Change from accessing single characters in a string using the aray functionality to the charAt functionality.
Should be faster.

Signed-off-by: Michel <info@1st-setup.nl>
Going to change the creation of an item to preloading it.

Signed-off-by: Michel <info@1st-setup.nl>
Convert the set exchangeData to preload everything from the xml2json object so it can be destroyed cuickly.
This reduces the footprint of the xmljson but now thegarbage heap of javascript staus large.

This is probably also slower when handling large amount of items.

Signed-off-by: Michel <info@1st-setup.nl>
Signed-off-by: Michel <info@1st-setup.nl>
Fixed problem where some periods were not loaded alright.

Signed-off-by: Michel Verbraak <info@1st-setup.nl>
Working on the sync to offline cache.
Found the bug started a fix.

Signed-off-by: Michel <info@1st-setup.nl>
Got better offline cache starting.

Signed-off-by: Michel <info@1st-setup.nl>
Fixed problem where changing the dates of an existing event failed.

Signed-off-by: Michel <info@1st-setup.nl>
Fixed problem where only non recurrence info was chaned on the master of a recurrence string.

Signed-off-by: Michel <info@1st-setup.nl>
Fixed problem where changing the enddat of a recurrence to an earlier date did not update the visible calendar allright.

Only problem now is when enddate is set to a later date.

Signed-off-by: Michel <info@1st-setup.nl>
Tryin to et changing a recurrence to be visible ok.

Signed-off-by: Michel <info@1st-setup.nl>
Added new exchange2010+ fields for calendaritems.

Signed-off-by: Michel <info@1st-setup.nl>