Allow optional trailing slash
Merge pull request #10 from sschneid/trailing_slash_optional

Allow optional trailing slash