Return the x-amz-restore header with GET KEY and fix provider prefix.

Currently x-amz-restore is only supported by HEAD KEY but GET KEY also
returns the header when it has been successfully restored and the
restored key is awaiting expiry. Fixed the provider 'x-amz-' prefix
part so that it's consistent with other standard headers. Previously,
it was hardcoded.

This patch is hard to automate a test for as transitioning to GLACIER
and restoring back from GLACIER both take time. This change has been
manually tested.
Added tests around opting-in on SigV4 for S3.
Throw an exception if using SigV4 w/o a host.
Extracted the common config altering bits.
Make the Lifecycle Id optional and fix prefix=None in XML generation.

The id is optional in the AWS PUT Lifecycle API. Boto currently
always sets the Id to 'None' if you set the rule directly.
Fix the XML generation to not send the Id if id is None.

If prefix is not set on a Rule, Boto generates a prefix for the
string 'None' which is not a good default value. Instead
generate the empty string for the prefix if not given so that
it matches all Objects in the bucket.

Modified the add_rule() API to allow the id to be optional which
also forced making other parameters optional by specifying
defaults. This makes adding simple rules easier though and is
backwards compatible.

Added 2 test cases to test the changes.
Merge pull request #1990 from tpodowd/restore_header

Return the x-amz-restore header with GET KEY and fix provider prefix. Fixes #1990.
Covered the missing ENV support.
Merge pull request #2021 from tpodowd/lifecycle_prefix_and_id

Make the Lifecycle Id optional and fix prefix=None in XML generation. Fixes #2021.
Started change to load endpoints from JSON.

This is just SNS/SES for the moment, for purposes of getting early review feedback. Still needs tests & docs, plus integration into the rest of the services.
Finished integrating the endpoints changes.
Added tests & docs for customizing endpoints.
Re-added the cn-north-1 regions.
Fixed failing tests.
Merge branch 'json-endpoints' into develop
Merge branch 'sigv4-opt-in' into develop