A 15-year-old schoolboy "filled with hate and racism" collected a stash of weapons including knives, a crossbow, shotgun and explosives as he prepared a far-right attack on a synagogue.