Each uri component needs to be uri-encoded.
Path components cannot be escaped with QueryEscape.
Add few test-cases from aws4 test suite for path encoding.
Merge pull request #19 from pxi/canonical-uri-fix

Each uri component needs to be uri-encoded.