get_topic_attributes handle nil values

* also correctly rstrip request id
Merge pull request #3372 from engineyard/get-topic-attributes-fix

[aws] get_topic_attributes handle nil values