Updated example to use 2-phased injection, which was the problem in stackoverflow question http://stackoverflow.com/questions/18972198/guice-jersey-servlet-binding