Support Common JS, requirejs and global

Hi,

Added support for browserify and requirejs. It also loads in Node, though native Promises will not be available until version 0.11.13. I think it is very important to include this as loading external modules are part of many workflows. Currently it is not possible to load "fetch" as part of a browserify, webpack etc. workflow.

Logic is from the browserify "standalone".