Moved swift container cleanup to a class method.

The same piece of code was used in almost every tearDownClass method, moved it
into a separate method to remove code redundancy.

Change-Id: I173af3f46fc2f6771237ab29b472249b00a9ed2d
6 files changed