Add define.export

Add define.export which can be used to define _and_ instantly require a named
module.  This can be useful for named modules which live in separate files and
are expected to work both in node and in the browser.