Stop inlining tslib helpers like __extends and __rest.
Stop inlining tslib helpers like __extends and __rest.

Similar in spirit to https://github.com/apollographql/apollo-link/pull/959

This inlining was first introduced in PR #2661 with the following commit:
https://github.com/apollographql/react-apollo/pull/2661/commits/de2b5fc3a4c0786966d57232ca153ea0983e54fb

At the time, inlining made sense because TypeScript was injecting copies
of the __extends, __rest, etc. helpers into every module that used them.
Depending on the tslib package seemed undesirable because the available
bundle size measurement tools (e.g. bundlephobia.com) mistakenly counted
the entire tslib package against react-apollo, without acknowledging the
possibility of sharing that package between multiple Apollo packages. It
seemed safer to inline only the helpers we needed at the top of
lib/react-apollo.esm.js.

Now that we have a more holistic way to measure bundle sizes (#2839), and
react-apollo works better with tree-shaking tools (#2659, #2661, #2677),
we know that overall application bundle sizes benefit from sharing a
single copy of the tslib helper package, even if no tree-shaking is
happening. Of course, with tree-shaking, that one copy of the tslib
package can be shrunk to contain just the helpers that are actually used.

apollostack/react-apollo,apollographql/react-apollo,apollographql/react-apollo,apollostack/react-apollo