Fixed weird bug when MIRAKEL_DIR is null
Merge branch 'calDavSync' into developing