Move ELF-related files together
Move headers for ELF-based operations together
Merge {first,last}-section-in-segment.c
Clean up ELF-related files and functions
Refactor mdoel-related code
Add simple 'make check'

Uses elfedit to copy itself and ensure both versions are identical.