Add support for configuring SNS and SQS endpoints through boto.cfg
Fixes #1991.
Added a missed import.