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.
This is wrong, which is why it was removed. Or did you mean something else?