Clean up the smoke tests.

* `str_gen`: Use `os.urandom()`.
* Use valid UUIDs in all server calls.
* Set `allow_dupes` and `case_sensitive_keys` as `PushTestCase`
  attributes.
* Remove unused `add_epoch()` function.