A Lebanese man admitted joining Islamic State in Syria and later returning to his home country Germany to buy military and medical supplies for the group, at the opening of his trial in Stuttgart on Wednesday.