MULE-7755: Fixed tests in CE and EE by adding a reusable method to regis...

...ter deprecated bean definition parsers. Also a ce test was fixed due to a change in the category used for logging.