The bizarro, irreverent world of Dav Pilkey, the creator of the Captain Underpants books, has been deftly translated to the Lucille Lortel Theater's stage.