Fix job_binary_internals creation

Change-Id: I04f8f282b3823ff6d8f060c9836ba29f22889a61
Fix Node Groups handling on creation

'node_group_template_id' is now passed correctly

Change-Id: I9098cee8937c7130038dfabfba69cf3e4deeb513
Merge "Fix job_binary_internals creation"
Merge "Fix Node Groups handling on creation"