loader: Add support for NE executables

Also add functions to get the file version number from NE, LE and PE
binaries.
List all skipped files in encrypted chunks
Tweak debug output
setup::data: Merge file_version_{ms,ls}
Use fixed-size type for permission entry indices
Prefer std:: variants over plain C functions
Whitespace
Fix loading headers if there are encrypted chunks