Don't allow a subdirectory called Ghost

fixes #1755

- adds extra validation to config loader
- adds tests for config loader and validation
Merge pull request #1781 from ErisDS/issue-1755

Don't allow /ghost/ subdir