[Modular] Add `no_inherit_decorators` and fixup wrong RoPE related inheritances (#46440)
* feat: add no_inherit_decorator sentinel to fix kernel decorator propagation in modular converter
* formatting
* fixup the decorator
* better typing and proper propogation to use more explicit cases
* fix
* refactor to fn and allow for class and fn
* add regression test
* fix all models
---------
Co-authored-by: vasqu <antonprogamer@gmail.com>