For core oscar views get the corresponding application using loading.get...

..._class

This allows for customized permissions to work even if the view itself
was not customized. Fixes #993.