Move a bunch of Lib Diff stuff to repo

This isnt used anywhere in client and doesnt depend
on anything so lets put it in repo!

Change-Id: I9029865b016851fad3653a66bf93f154ef27e5d6
Merge "Move a bunch of Lib Diff stuff to repo"