Persistent cache implementation

New Cache class handling persistence and expiration
Various class adjustments to handle object expiration
Cache level detection from the user config file
Added detailed documentation for all cache features

Signed-off-by: Petr Šplíchal <psplicha@redhat.com>