Add ERB code for displaying associative arrays

I have extended the template in order to present the CKAN schema fields
and the records with the best and worst completeness metric result.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Display fields of records for completeness metric

Now I have added the code to iterate the values of the CKAN metadata
documents in order to display them beside the CKAN schema fields.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Add null checks for repositories without data

If there is a repository with no metadata associated this will result in
exceptions on the completeness metric dashboard. Hence, I have added
some null checks to avoid this.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Increase CKAN schema weighting

The differences between the completeness metric and the weighted
completeness metric seemed to be too insignificant, thus I have
increased some overall values for better results.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Reuse completeness dashboard for weighted variant

The completeness metric dashboard can be used for the weighted
completeness metric as well. I have added some modifications.
The path is used to derive the metric which is then used for
different requests to ElasticSearch.

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