added checks to request initialisation for non root directory paths
added new test case to test paths for non root directory installs
Merge pull request #1224 from rossriley/non-root-directory-config

Non root directory config in new ResourceManager.