Start to implement REST routes for snapshots

The snapshots need to be selectable as well. This has to be one of the
major features of this platform.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Go back to own implementation of follow location

Libcurl does not handle redirect loops very well. Typhoeus ends up not
terminating. Until I learn, whether it can be handled by libcurl and/or
Typhoeus or not I will use this implementation. After 10 redirects the
location is not followed anymore.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Add redirect loop as a response status

Just extended the response status method so the redirect loop is logged
correctly for the final results.

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