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>
Added first functionality to process the body in HTML or Text

Signed-off-by: Michel Verbraak <info@1st-setup.nl>
Changed to an appointment is saved as an appointment and a meeting as a meeting.
In the past everything was saved as a meeting.
Also commented out some code which is only for emails

Signed-off-by: Michel <info@1st-setup.nl>
Working on getting a html editor for the item description.

Signed-off-by: Michel <info@1st-setup.nl>
Got the HTML description editor working for viewing. No saving yet.

Signed-off-by: Michel <info@1st-setup.nl>
Added attribute body to baseitem.

Signed-off-by: Michel <info@1st-setup.nl>
Added osme more functionality for XML description/body

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