elasticache module: tidy up to meet PEP8 better
Merge pull request #2539 from felixonmars/elasticache-tidy

PEP8 style fixes for ElastiCache. Fixes #2539.