improve import from an iCal file

when importing from an ical file, the task uid is defined
and probably not used, that commit will use it in that case
in order to preserve it and import tasks with relations
as it's done in the interface when importing a file.