Simulating from Posterior Predictive with a Custom Likelihood

If anybody is interested, I gave a summary of what I ended up doing in this thread here: Compound Sampling-Binomial? - #13 by freddie090

(I went option #2 @sonicking - the likelihood is quite fiddly!)