refactoring addRequiredResource from hook to client
Merge pull request #2 from oat-sa/refactoring-req-res

refactoring addRequiredResource from hook to client