[#1251] resource_view_create requires a view_type

If we don't do it, we'll try to get the view_type from the current plugins,
which will fail because there's no view_type called '' (empty string).
[#1251] Remove @deprecated decorator from PackageController.autocomplete()

This makes our tests fail, probably because of a bug in the decorator itself.
I've created an issue at #1662 to try to figure it out.