Replace manual follow location with maxredirs

Libcurl has an option maxredirs which limits the number of
maximum redirections to avoid a redirect loop. With this
option I can drop my own implementation again.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Merge index, leaderboard and map view into one

I started to merge different repositories view. This makes opening of
different views a lot faster.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Fix pill pane classes to hide content

The content was not hidden due to missing classes. Also moved the row
into its own element to fit into the proper width for a dashboard.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Add snapshot destroy command

I have added a destroy dependency between a snapshot and its metadata
records. This way metadata documents cannot exist without their
snapshot. For this I have written the snapshot method in the
repositories concern and added the destroy method.

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

Just a quick gem update.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Remove symbolize key option from the Yajl parser

This was wrong, wrong, wrong. Symbols are not garbage collected. This
was a terrible memory leak or rather way to bloat the memory.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Change input parsing to one character at a time

Another reason for the horrendous memory consumption was the fact that I
read the complete file before starting to process it. For now, I solved
this by reading one character at at time.

This again, the absolute trade-off between memory and speed, is too slow
again. I finally need to start using line breaks in my JSON dumps, then
I can read one line at a time.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Add indices to some model classes

I have added indices or at least I am trying to find reasonable indices.
I am going to change the structure soon, embed everything except the
metadata records.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Revert previous Gemfile.lock

Weird error messages started to appear, but I was on beta versions of
BSON and Moped, made me thinking. The previous version worked fine.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Add controller code to load numbers

I have added controller code to perform the numbers about metadata
records, this, however, is far too slow. I need to implement this with
aggregation.

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