Add some api to the runtime interface. This is pretty much done on-demand for now. We may need to sit down and see exactly what we would need to expose.
Merge remote-tracking branch 'origin/master' into ocr-distributed