HBO has ordered a comedy pilot about the making of a superhero movie, Variety has learned. The half-hour pilot is titled “The Franchise.” It follows a hopeful crew trapped inside the dy…