Make the attachments retention period configurable

Current situation

The localstore service handles attachments storage, including cleanup. It currently keep them 3600s after workflow completion.

Desired outcome

Make this a configuration parameter, so that we can adjust it.

Possibly study if we can read retention policies too.