[BACKLOG-194] -- refactored methods from RepositoryResource and added unit tests
Merge pull request #1762 from krivera-pentaho/oemdoc-dev

[BACKLOG-194] -- refactored methods from RepositoryResource and added un...