Use lower-case hostnames everywhere
URL suffixes for response formats are depreciated in Admin API
Unit tests for request signatures

Fixes encoding of "~".
Merge pull request #1 from ben-duo/master

Tweaks for request signing