A crime novel with a welcome bit of wit and humour