The Alternative for Germany (AfD) has gained ground in three recent state elections, caused an uproar in the Thuringian parliament and triggering another debate on whether to ban the party outright.