Fix LMS-500: Random class in random module was None

Deleting the module object isn't needed to replace it, and deleting
a module object causes all of its attributes to be set to None.
Merge pull request #272 from edx/fix/LMS-500

Fix LMS-500: Random class in random module was None