RESTEASY-999 avoid problems with arbitrary binding order using Guice

Defer `ResourceFactory` initialization and registration until after all `Provider` classes are registered.

The test case in 4615459 reproduces the problem with a custom type and a provider class for the parameter conversion.

Issue: [RESTEASY-999](https://issues.jboss.org/browse/RESTEASY-999)