Move EntityManager injection to BlockService (and friends)

(so that jax-rs resources don't need to know the dependencies to the service classes)