Expose RepositoryRuntimeException from the kernel module instead of RepositoryException

Far from perfect, but getting closer. At least all the resource-like models are sanitized.

https://www.pivotaltracker.com/story/show/78860776
Where (if ever) does showStackTrace get toggled?
If nowhere, I will remove it.