I remember how many people were caught totally off guard by Ricky Gervais’s “The Invention of Lying” (2009), a film with a simple premise about a man who could lie in a world where nobody else could, when it suddenly became a vicious condemnation of religion. Gervais’s character, the liar, invented the concept of a “Man in the Sky” who would take good people to an afterlife if they followed “ten rules.”