[SPARK-1970] unit test in XORShiftRandomSuite

Since we're adding commons-math3 as a test dependency to spark core,
updating the test for randomness in XORShiftRandomSuite to use an
actual chi square test as opposed to hardcoding everything.