Support for trailingSlashes with clean urls
added tests for trailing slash
merged pull request for trailing slashes plus tests
merge pull request for trailing slashes
clean up logging code