openucb-392

Implements the build script changes needed to apply small patches to Panopoly tests so that we can use them. Also creates patches for three tests.