RESTEASY-802: Reinstated original GetRestful.getSubResourceClass().
RESTEASY-820: Added test case.
Merge pull request #275 from ronsigal/master

master: RESTEASY-802