Move SecureRandom.uuid to native code.

All recent changes together appear to result in a 4-6x faster uuid
compared to 1.7.10. This and the changes for #hex should help
improve raw request throughput on frameworks like Rails that use
them heavily.