Add time based UUIDs

See #5941.


Using SecureRandom as a UUID generator is slow and doesn't allow us
to take adavantage of some lucene optimizations around ids with common
prefixes. This commit will allow us to use a
timestamp64bit-macAddr-counter UUID. Since the macAddr may be shared
among several nodes running on the same hardware we use an xor of the
macaddr with a SecureRandom number generated on startup.
Why not just let the test throw the `IOException` and fail automatically, thereby avoiding the `try`-`catch` altogether? Alternatively, you can always invoke `fail();` to fail a unit test.