Magdeburg attack suspect had been promising 'revenge' on Germany for a year