COMETD-547 - Replace usage of Spring's @Component with @Configuration.
Added Spring annotation configuration test.