Backport ability to see previous sources in fetch() and track()
This backports:
- The original work codenamed "source transform" (!568 (merged))
- The original pip source plugin which leverages the ability to view previously staged sources (also from !568 (merged))
- The related fix for #1010 (closed) which was introduced by the previous patches (in !1330 (merged))
This will be especially important for implementing a similar plugin to the pip plugin but for cargo/rust projects.