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