CSP race condition fix

This solves https://github.com/systemjs/systemjs/issues/88

Because fetch runs with promises, we need to synchronously pick up any define statements that were run. This provides a central hook which all wrapper formats can attach to after script injection to know which load record executed the wrappers.