Replace code through conventions

Some further refactoring. I made the select_partial method a bit more
easier to understand. This way it should also be more robust.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Rewrite concerns to auto-load necessary objects

With the concerns rewrite I was able to delegate the domain model object
loading completely into the concerns. If a concern is included its model
objects are automatically fetched by trying a list of parameters.

Also had to touch a lot of other files for this. The method for getting
all metrics is now all instead of list, as before. This fits more into
the overall convention.

The routings has been changed one more again, too. The singular resource
of repository maps to the same controller, but it creates all the
default actions which I had to silence with an empty only.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Add controller concern for metadata record

Similar as before I have added a concern to auto-load metadata records
if needed.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Refactor analysis class module concept

The analyzer is now selected in the analyses controller concern. The
previous analyzer selector has been removed. The classes to perform the
analysis encapsulated that behavior.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Continue with the concerns refactoring frenzy

More changes, more renaming and less name clashes thanks to the
Java-style postfix for the controller concern classes.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>