Make the redirect after save configurable

When saving an object through the api the location header can be switched off by setting `redirect_after_save: false` in `settings.yml` file.