Bugfix replacing $row->dav_id with $row->collection_id and lots of whitespace fixes.