Move helper methods for object_storage to base.py

Move the create_container and create_object methods
out of test files into base.py to reduce code
duplication.
Same pattern as in other base.py files.

Refactored setUp and cleanUp methods.

Change-Id: Ibec4e6a7e4e544a2311d5c44af17103854c78021
18 files changed