Adapted ThingResource to new JAX-RS-Connector: Using declarative services and bean as method argument.

Signed-off-by: Dennis Nobel <d.nobel@external.telekom.de>