[api] move one more render function to a view

Conflicts:
	src/api/test/unit/code_quality_test.rb
[api] refactor source#index_package

Some of the code branches are rather bizzare

Conflicts:
	src/api/test/unit/code_quality_test.rb
[api] add a code quality check deploying flog

We measure code complexity in average per method and enforce going down
in average. I'm not sure what it means if new code is added, but I sure
hope that adding more if case cascades to existent code is blocked by
that

Conflicts:
	src/api/test/unit/code_quality_test.rb
[api] fix some code to meet the code quality metrics again :)
[api] refactor source#index_package too
[api] refactory source#file action too
[webui] Style comments readable
[backend] support to show last finished build logfile. Add all existing and new API parameters to  documentation.
[api] add group xml and rng file to define groups of persons
[backend] fix hostlabel structure from prjconf again
[api] Delta indexed disabled
[webui] do not crash, when the request has no target specified in its first action
[webui] do not crash when a request has no target and fix cache handling for multi-action-requests
[webui] Fix typo in layout header