allow to link matching staging prjs only in dashboard

https://openqa.opensuse.org/tests?hoursfresh=24&match=staging:D&scope=relevant
Merge pull request #38 from lnussel/master

fix imagepath in save_needle
Merge pull request #39 from os-autoinst/coolo_match_version

allow to link matching staging prjs only in dashboard
move the TMPDIR of qemu to the pool directory

fixes problems with apparmor on using /var/tmp
Merge pull request #40 from os-autoinst/coolo_tmpdir

move the TMPDIR of qemu to the pool directory
Added support to differentiate between jobs status
running/scheduled when the job result is 'none' in the build view.

So instead of showing "none:15", the build view now shows:
"scheduled:11, running 3, none: 1"
removed semicolons as suggested by tidy --check
Merge pull request #42 from antlarr/master

Added support to differentiate between jobs status 'running'/'scheduled' when the job result is 'none' in the build view
Revert "set job waiting if with interactive mode, and set it back to running when leaving interactive mode"

This reverts commit b38aca1c64311f07f6933893b6ce57d5e9e72f62.

Doesn't work. 'waiting' must only be set if os-autoinst is actually waiting for
input
handle jobs in waiting state
when grabbing job order by prio and id

so older jobs with same prio come first