Luqmaan Khan, 25, vowed to "kill all" in a notebook detailing the plan.