Refactor a few test cases.
Refactor util.find_library().
Fix inline docs.
Refactor Rule6.set_{src,dst}().
Refactor Target.__init__().