An "incel" schoolboy who threatened to launch a Valentine's Day massacre has pleaded guilty to possessing bomb-making videos.