RESTEASY-991 Add integration test that JAX-RS components are CDI beans

with appropriate scope