more hacks to cope with cycles

Change-Id: I7c362367c4729dee96ab7094b7484ddc079c750e
sample graph-dep output

Change-Id: I8844028e684bfb717fc7dd481c46d99674064e2a
list exports by package

Change-Id: I0f22dc8ebe1afa644e6f0aecdefa2ef8ae7ea5d3
sample export list

Change-Id: Ib21b1fd7d32809f86f91c2bfbf46d7dd34187f01