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
Yes, everywhere.