Add database support for the JobOrigin object

Change-Id: I3f491e7699d6cab9040cbda3fdcfdfa285a53031
Merge "Add database support for the JobOrigin object"