Exponential retry on 400 errors

based on:
http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#APIRetries
Merge pull request #175 from alimoeeny/patch-19

Exponential retry on 400 errors