Implement ABI check for linux
Implement ABI check for linux

- Refactor common code
- make file info scan more robust between platforms

The "0" version will change when pkg(8) is modified.

jrmarino/ravenadm,jrmarino/ravenadm,jrmarino/ravenadm