Mark resources as traversed.

This avoids the situation @puiterwijk ran into where if you have the
same username and reponame, then github2fedmsg's traversal mechanism
will revisit the same node in the tree and wind up with a 404.