A German army officer who posed as a Syrian asylum-seeker has gone on trial accused of plotting to kill prominent politicians and blame the attack on refugees.