[api] Get releaseprojects for maintenancerequests
[webui] Show releasetarget for maintenancerequests
- updated testcase
- fixed set incidents for maintenancerequests
- added testcase for setting incidents
[webui] fix xhtml problems on project status
[api] first step to make project status in the webui more reasonable

adding a /webui/project_status route that is taking only the part of the
/status/project route that is interesting for the webui and outputs it
as JSON

To do this I had to refactor quite a big part of code and also optimized
it here and there
[webui] make the project test case as reliable as the package
[backend] bs_srcserver add summing up waiting jobs as well in workerstatus
[api] filter packages by users before doing all the rest
[api] Ancor gave me a great tip: rails 4 has pluck

Just feel the beauty of
-      infos[:incidents] = subprojects.select("projects.name").map { |p| p.name }.sort.uniq
+      infos[:incidents] = subprojects.pluck("projects.name").sort.uniq
[api] fix code api code that is only covered by webui test suite
[api] make even more use of pluck

it e.g. reduces the runtime of /source from 1500ms to 800ms (all that
overhead of creating ruby objects is gone)
[api] rework /statistics/latest_updates

More because I can - it's from 37ms to 11ms, which doesn't really matter :)
[api] StatusController#workerstatus had a average runtime of 488ms

Which is completely insane as the webui calls it every couple of seconds.
But it was loading all projects currently building in memory only to check
if they are hidden - removed and we're down to 28ms
[dist] update gem versions and add optional newrelic_rpm
[api] add some caching for very hot routes

The caching of visibility of packages is tricky, I tried to be as careful
as feasible
[api] be easier on the mysql query optimizer

(a.target_project='openSUSE:Factory' OR 0) is the same as without OR
to the human eye, but it invalidates the use of indeces (sometimes?)

It makes the difference between 6273.2ms and 12.3ms, so it's worth it
[backend] obs_admin --clone-repository: do not link :repoinfo

Thanks UkJung Kim for finding this bug.
[backend] implement small lastfailure database in the reposerver

This is done to speed up coolo's project status page.
[dist] show the codeclimate note (as long as it's green :)
[api] avoid deprecation warning in log file
[api] don't block /lastevents and /public/lastevent

Map public/lastevents and lastevents to the same function and map it
to a GET, which can be X-Forwarded