Rättegången mot den 18-åring som misstänks ha planerat ett terrordåd i Kungsträdgården i Stockholm har börjat.