Use SecureRandom.uuid everywhere instead of simple uuid.

Removes dependency on simple uuid.