Fix cms_perms breaking is_current_app in toolbar

If current view is decorated we must unwrap the decorator to find the correct view module.

Fix #3245
resolve return app_name as well.... maybe there is a way to handle this with this instead?