Allow building/serving top level dirs only (#576)

Fixes https://github.com/dart-lang/webdev/issues/571

We will now throw an InvalidConfiguration error and give the appropriate exit code if asked to serve or build anything other than a top level directory in the package.

This never worked but silently just didn't do what people expected.
6 files changed