Don't run any Dart Tools code if not dart project.

Work on #10.
Don't load any components unless valid Dart project.

More work on #10: don't require any of our components unless we're
actually inside of a Dart project.