Full Kolab Horde_History support

Hi,

this pull request adds full, synchronized Horde_History support to Kolab_Storage.
It also resolves a bunch of bugs, the corresponding bug number is noted in the commit.

All Kolab_Storage unit tests are up and running (and I introduced some new ones).

The new code is the basis for efficient ActiveSync support.

Cheers,
Thomas