fn tests: Create shared functions library

Move podiff into that
Create tdiff which does any special format specific diff handling