Add StorageUri functions for versioning and corresponding tests. Also fixed meta-generation bug and unittest imports.

* Add StorageUri functions to fix versioning support in gsutil and corresponding tests.
* Fix meta-generation bug in gs/bucket.py.
* Fixed unittest import in gs tests for Python2.6 compatibility.