Så blev emiren av Qatar medlare mellan Israel och Hamas.