Added tests for gsutil update check and fixed bug for bad file contents.

* Added unit tests for expected result of update check.
* Fixed a bug that would raise an exception if the timestamp file had contents
  that was not a valid integer.