Quit eating errors copycat

The current implementation of CopyCat Somatic doesn't trip up when the R program runs into errors. This change fixes that issue and introduces a test to detect that we are successfully catching failures in the R code.

We have observed several instances of this in production runs and I would like to get a fix out quickly.