Remove ELF magic for application/x-sharedlib, generalize x-executable magic.

Merged David Faure requested to merge work/dfaure/issue11 into master

PIE executables have the same header as ELF shared libs and therefore were being detected as shared libraries.

The magic for executables was too specific, I removed the check for the value at offset 16 since it's actually 3 for /usr/bin/ls, not 2.

Fixes gitlab issue #11 (closed). #11 (closed)

Merge request reports