indexer: store archive policies

We now store the archive policies and their definition in the indexer,
and we reference them in the entities. The archive policies are created
globally for the whole Gnocchi instance.

Change-Id: Ib6d9cfb8ff41c12ae0e5dcae653f9f18de3874ef