Implement EZP-21385: Make redirection after publish configurable

Re-merge PR from @julfabre to current master : https://github.com/ezsystems/ezpublish-legacy/pull/340 

Issue: https://jira.ez.no/browse/EZP-21385