fixing invalid require statements

- after requiring our dependencies (which are valid) we shadow require
- this will cause if (typeof require!='undefined') to return false which
  is what we want
- fixes problems with libraries that contain requires that cannot be
  resolved
- problem similar to ember issue was reproduced and confirmed to be
  fixed