CalDAV Backend seems to be working now

Sorry for being so trigger happy with my earlier pull request.
This caldav.php seems to work now. Further tests are always welcome, of course. ;-)