[RESTEASY-993] Spring 2.5 compatibility in resteasy-spring integration