Instrument code before browserify-shim runs

Eliminates branching logic in shim creating ghost untested branches
Fix bad #fetch noop test to fix circular JSON bug and reintroduce strict request mocking