Moved some dependencies and bean definitions between extensions to more reasonable places to allow the catalog extension to be disabled without causing errors in LC Studio and CAE apps
(CMS-13784)