I would guess that it's simply a bastardization of the term "class clown", one who is the school jokester and perennial nuisance to the teacher.