Fix spelling spec tests

The spelling tests failed due to the change of the analysis structure.
This fix adjusts the unit tests.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Port completeness metric view code

From a previous version of Metadata Census I have ported the code used
to visualize the completeness of metadata records. The table has been
refactored to small parts and the code for analysing the JSON schema
lives now as an analysis class.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Fix fields method to retrieve schema fields

I was a bit too harsh with symbolyzing the whole JSON schema. Values
are, of course, still strings and not symbols. With this commit the
subfields are now retrieved as well.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Improve value presentation for completeness view

I have improved the presentation of values. This includes the field
names as well. Instead of humanize() I use now titleize(). Not only
does it removes the underscores, but capitalizes every word.

There are exceptions like URL, so that I had to define a mapping to
get from "url" => "URL". More might follow.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Style completeness table with alignment and colors

As before, I have styled the completeness table with two different
colors. In addition, the field cells are now th elements, too.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Clean up record selector partial

There was still a lost table inside the record selector partial. I
removed it. Also I have added the total record score to the info table.

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