Modified PerProcessInstanceRuntimeManager to generate a new Runtime when...

Modified PerProcessInstanceRuntimeManager to generate a new Runtime when the runtime Context is an EmptyContext.