An Uzbek asylum seeker who confessed to wanting to mow down "infidels" in an April 2017 Stockholm truck attack that killed five people pleaded guilty to terrorism charges on Tuesday as his trial opened.