Run pub when necessary for testing articles

If your article test needs to depend on some packages, this changeset lets you put a pubspec.yaml in the code/ directory, and the test runner will run pub on that directory before running the analyzer.