Add fallback to pre-existing local require

fallback to a pre-existing externally injected require.

When you run a file compiled with this thing in a CommonJS environment it won't work, because it only falls back to `window.require` leaving out the pre-existing local `require`.

see https://github.com/vidigami/backbone-orm/issues/18