Detention — a word that for many conjures up dreary afternoons, silent hallways, and the slow tick of a clock.