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
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
don't use perldir for testcasedir
break lines for easier diff later
get rid of unused legacy functions
set CASEDIR in worker

This avoids os-autoinst autodetection based on it's script dir so we
can set the versioned dir as we need it
adjust apparmor profile to worker changes
Add apikey and apisecret comman line options.
re-create tmpdir when launching os-autoinst
move workers view into admin with admin layout
Show the error messsage.
filter jobs if TEST or MACHINE is passed with iso
don't clone repos
don't show Download repo in result page
get rid of the @ in scheduled listings
Add Perl script to detect dead needles
Needle editor: change needle name when selecting tags