Xbox 360 and test suite fixes
Fix 64-bit atomics on Xbox 360
Use new Random class in test suite