Cache parsed bundle

Currently we're fetching and setting up bundler many times during the detect and compile phases which slows things down.

This at least gets it down to one fetch + setup for each phase. Might consider vendoring bundler to prevent needing to fetch it at all.