[entropy.db.cache] introduce EntropyRepositoryCachePolicies

It is now possible to define a policy for the in-RAM cache through
EntropyRepository constructor or EntropyRepositoryCachePolicies.
[entropy.db] expose and use the currently set cache policy