Feature/namespaced program specification

namespaced APIs for ``{namespace}/apps/{runnable-type}/{runnable-id}``

This is based off of #861 , so please review that before this.