RF: refactor cmp_filenames into tools module

Move utility to compare contents of files into tools module from script,
add tests.
RF: move lipo_fuse into tools, add get_archs, test

Add lipo_fuse to tools module
Add get_archs function to tools module
Tests both
RF: check for static lib lipo -info output

Static lib lipo -info output has an extra line compared to dynamic lib
output, it seems.