Validate graph of resources.

If resource A references resource B and only A is processing
(via @SubResource) by the annotation processor, then a
compiler error is triggered at the final compilation round.
Claiming annotations is probably not a good idea.