Merge changes If6b35e94,I72a9502b,I0c1ce9d4,I73f12b2d

* changes:
  Look up referenced types' compilation unit paths when linking ABI dumps
  Store the sdump path for each type definition when linking ABI dumps
  Move the merge functions from IRReader to a new class
  Add a test case for merging multiple definitions