Use test/fixtures for directory tests
Fix directory middleware to encode URI components
Merge pull request #917 from dougwilson/fix/directory-middleware-uri-escaping

Fix/directory middleware URI escaping