Updated to work with AWS4Signer.

Introduced the notion of a region. Moved version to 4.0.0 because the change was not backwards compatible. fixes #28