Khan/khan-exercises — pull request #25754 by xymostech (2012-07-09 22:16:11+00:00)
Title: Fix Exercises not defined bug

Since Exercises is not defined in local testing, we need to test for
testMode before using it. Tested in local and in GAE. Still breaks a
bit in GAE, but should be fixed by near updates.