bug fix in AddTask: don't insert to events_task if the same sha1 exists there are some common/duplicate codes between AddTask and UpdateTask
bug fix in AddTask: don't insert to events_task if the same sha1 exists
there are some common/duplicate codes between AddTask and UpdateTask

ilius/starcal-server,ilius/starcal-server,ilius/starcal-server