Make safer (less-predictable) shindig.random available for gadget context. http://codereview.appspot.com/2208045/