Increase random data provider support

Add a method to get the current random data provider, and document and
test the method for resetting it.
Remove needless #ifdef _WIN32 from getWhoami