Are the characteristics of an adult killer or his victim visible in the playground or at the school disco? Or are the roots of a motive for murder seeded there? With characteristic brio and humour, Christopher Brookmyre investigates