Fix coding stype in various places
Major refactoring of ELF-related code

Includes removal of elf_datatypes.hrl.