Adds supports for sub resources

Our ReST application is configure using SpringServlet and every exposed resource needs to have a @Component annotation.
The problem occurs when we have sub resources inside a component, We have methods that returns new resources.
For example:
public ApplicationResource getApplicationResource(@PathParam("domain") String domain)

I added support to iterate on ApplicationResource operations.