A teenager who killed his mother and two siblings and wanted to carry out the "biggest massacre of the 21st century" faces life behind bars.