Generalizes Lumi program validation so that it can be applied to integration testing for other packages (such as the pulumi/lumi-platform package examples).