Implement retries for all DynamoDB methods

This fixes #271

More testing is required before merging, submitting now for feedback