The 16-year-old boy in Singapore planned to knife Muslims at mosques and livestream the attack.