Deal with UIDs which are longer than one line.

(org-caldav-rewrite-uid-in-event): Move UID extraction into
`org-caldav-get-uid' and deal with UIDs which reach over several
lines.