Style weighting slider

I have added a grid into the table cells containing the weight slider.
This way I was able to add the weight label above the slider. For now
the minimum value will be 0 and the maximum value will be 10 with steps
set to 1. A higher granularity would not make much sense.

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

The weight label changes now dynamically based on the changes made to
its local slider.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Refactor scheduler towards snapshot sensitivity

The scheduler is going to be snapshot sensitive soon. This means, that
not the latest snapshot of a repository is scheduled, but a certain
snapshot selected by the user. Lots of changes have to be made.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Fix AJAX request paths for the scheduler

Hopefully all AJAX request paths for the scheduler are now updated.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Add snapshot picker to the scheduler view

The snapshots are now pickable on the scheduler view as well. I will
name these interface components rather picker than menu, because I find
this a lot more intuitive.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Refactor completeness metric's symbols to strings

For the domain model rather strings than symbols should be used.
Following this paradigm I am refactoring more and more code.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Update score meter with every weight change

With every slider movement the score meter is now updated. The animation
is still very rough, maybe I can fix this with an underscore debounce or
I drop the animation here altogether.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Store set weighting in session cache

The chosen weighting is now stored in the session cache. This way the
leaderboard could reflect the users choice as well.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Use strings in weighted completeness, too

The weighted completeness has like the simple completeness a lot of
checks against JSON schema which were based on symbolized keys. This
code has now been updated to the new convention as well.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Write analyzer for record quality distribution

With this analyzer it is now possible to retrieve the number of records
belonging to which score group. There are ten groups. One for each 10%.

Calculating the metadata records on the fly is too slow, hence the
document score is now updated with every metric computation. This slows
the whole computation though.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Add one quarter and three quarter dashboards

For the snapshot and metric view I had two additional dashboards in
mind. Both above the actual dashboard containing the content. The
upper left one to contain the score meter and the upper right one
to contain a histogram. This commit adds the necessary styling to
make this possible.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Add histogram to display quality distribution

A histogram has now been added to the snapshot view. I have commented
out the hiding of the x-axis line. I had hidden it for the bar charts
on the metric view, but I think in the case of the histogram it adds
a lot of value to the design. I might add the line to the metric view's
bar charts again, too.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Replace metric view button with links

Instead of a button, links are used to get to the metric view. The
column that became available is now used to display the last time
the metric was updated.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Add metadata member site to list certain records

This view I have added is thought to display the metadata records,
respectively their identifier, of a certain group. The group is
determined through the quality distribution. For instance, all
records with a score between 10% and 19%.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Make the histogram bars clickable

Through clicks on the histogram bars the user is now brought to the view
to list the records grouped by the requested distribution.

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