zpm: abstract `_prepare_job` from `deploy_project`

This util function adds runtime information to the job template json
(namely, the swift:// path to the application .zar).
test_zpm: add `test__prepare_job`

This is a test to exercise `zpmlib.zpm._prepare_job`.