"ONE FOR HIS KNOB" usually refers to the extra point you can claim in cribbage if you hold a jack of the same suit as the turned-up card. In this context the whole chorus is probably just a variation on fol-de-riddle-i-do etc.