Adding mains and libs to job details view

Fixes: bug 1252444

Change-Id: I3efc3dd03c5ed9252a52cb082385bd627bb2396b