Merge pull request #1714 from krivera-pentaho/oemdoc

[BACKLOG-194] -- FileResource.createFile service implementation, unit te...
[BACKLOG-194] - Refactor and unit tests for FileResource.doGetFileOrDir
Merge pull request #1715 from brendan-lynch/oemdocfeaturerequest

[BACKLOG-194] - Refactor and unit tests for FileResource.doGetFileOrDir
[BACKLOG-194] -- reverted extraction of static method for system stability