Add read retries to avoid problems related to s3 eventual consistency

Conflicts:
	tests/test_s3.py
Fix code formatting and removes useless imports
Fixed style violations
Merge pull request #600 from johanneswuerbach/retry-s3

Add read retries to avoid problems related to s3 eventual consistency