Augh, I really want to get this in and working. I think @ForbesLindesay's patch looks really good, and am sorry I didn't catch the problem earlier; I should have been better about actually testing the releases.

I think it covers all use cases I can think of. In particular:

> We still want for server-side node with window & window.document defined for require('jquery') to return the jQuery object and not the factory

Well, if `window` is defined, but so is `module` and `module.exports`, then `module.exports = factory(window, true)`. This works as desired!