Re-calculate symbol data before returning content

Rebuild the symbol table before returning the content from
Content()
Fix bug in symbol parsing
Fall into gdb if a test produces a core dump

 - Enable core dumps when running auto-tests
 - Automatically start up GDB if a test crashes and produces a core dump

 - Fix bug processing program headers which would cause a crash when
   parsing complete binaries
Improve handling of program headers