moved addRequiredResources() logic to registry
removed no longer used method
refactoring addRequiredResource from hook to client
allow debug
Merge pull request #3 from oat-sa/refactoring-req-res

Refactoring req res