Compose percent-encoded query from percent-encoded components
Tests for URL with precomposed query
Merge pull request #249 from sunnycows/master

Compose percent-encoded query from percent-encoded components
Adding POST request JSON response test
Fixed issue where directory and domain parameters were ignored.
Merge pull request #257 from cnoon/master

Fixed issue where directory and domain parameters were ignored.