[backend] return 'delayed' when an aggregate has to be delayed

Fixes the scheduler looping over the same project.
[webui] avoid multiline status lights for a partition
[api] refactor application controller
[api] avoid duplicating the usernamd and password in all tests

Just use helper functions
[api] remove some unused functions
[backend] do not publish incomplete debigan repos of deb tools are broken
[backend] make warden work with masterdispatched jobs
[backend] warden: also print message for masterdispatched jobs
[backend] remove dirty flag for broken/disabled repos

Keeping the repo dirty confuses users, as osc displays
'outdated' in that case.
[backend] be more verbose about unfinished prps
[backend] log event processing
[backend] fix bad ping call
[backend] ask correct server for preinstallimageinfos
[webui] working on random code issues rubymine complained about
[webui,api] make sure target_maintainer is set correctly

(part of issue#395)
[dist] revert thinking_spinx back to 3.0.4,

ancor will check what's the problem with 3.0.5 later, but for now having
a stable travis outcome is more important
[backend] fix unchanged job handling regression
[api] Allow Sphinx pagination in searchs with large results
[backend] fix stupid bug in idleworker that removed the job instead of the status file
[webui] refactory service model a bit