[#387] Always redirect to the url for the package controller
This is because package_type should not influence the page that is redirected to. The previous implementation had the problem that package_type is `package` by default which broke the redirection after editing the slug of a dataset.
[#387] `_get_package_type` returns `dataset` by default, properly handle redirect based on package type
[#387] Make pull request minimal by re-adding a new line
Merge branch '387-wrong-redirect-after-edit-dataset-slug'