JERSEY-2449 Let Spring resolve beans using AutowireCapableBeanFactory, i...

...nstead of handling various bean types manually. Adding test to verify that beans can be autowired.
wrong