Improve turba API error logging
Bug: 12171 Set logger on importer.
Enforce maximum session lifetime
phpdoc
[mms] Regenerate session IDs during an active session to protect against session fixation attacks.
For non-cookie based sessions, share SID across all dynamic window instances
If error retrieving ACLs for a mailbox from IMAP server, fallback to defaults instead of throwing exception (Bug #12184)
We really don't need to save the $lastuntil value.
Allow option to ignore $timestamp when validating the syncCache.

Prevents PING requests from exiting prematurely in certain cases.
Merge changes from FW_5_0.
Merge branch 'improved-turba-API-logging' of https://github.com/thomasjfox/horde into thomasjfox-improved-turba-API-logging
Need to check for the message vanishing while building it too.

Prevents the an error if someone deletes a message on the server
during an initial sync after the uids are polled but before they are
sent to the device.
This is not an error.
Work around broken HTC clients (again) that send empty tags for array values.

Bug: 12187
Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
Bug: 12188  Be more consistent with address book selection.

Really need to clean up default addressbook stuff in general, but
this avoids issues with syncing in the meantime.
Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
Must converUserName to the auth name to access the state data.

Bug: 12186
Expose the logger and device objects.
Add factory methods for collectionsObject and syncObject.
grammer/typo
Existence check.

Since we can now call getChanges() with just flags from the maillog,
we won't always have the 'read' and 'flagged' keys. Fixes some undefined
index errors in the log.