Adding ownership vars injection

I didn't find support for 'Inject ownership variables into environment' in jjb so I prepared this patch.