Onion joke makes Year 6 class funniest in Britain