Include more info in dependencies

Indicate if a change depends on an obsolete revision of another
change.  Also, indicate that a change is needed by a change even
if the dependency is on an older patchset.

Change-Id: I8f1653c917979d3865d5e494cd53789e65ea928b