forge.random.seed(): contribute entropy to the singleton RNG

Web workers don't have access to window.crypto.getRandomValues, so this
allows callers to pass "strong" entropy into the forge.random generator.
random.js: Use typeof window to avoid ReferenceError on Node.

Fixes Node bug introduced by 85b6db9b44 and b2d19fb1ac