Merge pull request #4347 from juztas/fixes

Automatic retries on submission failure and Local stageout fails at sites that use srmcp. Fixes #4234 #4337
Merge pull request #4348 from juztas/stale_after

use always update_after in couch queries