Implement envelope/process retention policies
Created originally on Bitbucket by cdevienne (Christophe de Vienne)
Currently every envelope and process (and logs) are kept in storage with no time limit. Retention policies will define which envelopes & process infos should be kept, and for how much time.