add check for circular dependency

@tfoote @wjwwood Please review.
Not sure about that, this would look weird:

```
$ ament build ....
...
verb 'build' with args '...': Circular dependency within the following ...
```

The verb and arguments were provided by the user, I don't know of other commands which identify themselves in the error line.