adding new directive 'require_glob', adding tests for 'glob' and 'tree' directives