Fix cross-lecture dependencies in foundations notebooks 5, 7, 8
Add hidden preamble cells to define prerequisites that were previously
only available when lectures were read in order (take/drop in lecture 5,
tree type in lecture 7, prefix/dub/promote in lecture 8). Remove the
knownUnbound workaround from E2E tests now that all cells pass cleanly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>