RESTEASY-952: Changed ResourceBuilder, added InheritedContextTest.