Adding code+settings for changing redirection after publish

re-merge PR from julfabre to current master : https://github.com/ezsystems/ezpublish-legacy/pull/340