bugfix...  discovered elf symbols running over bounds...  reworked.

	modified:   simavr/sim/sim_avr.h
	modified:   simavr/sim/sim_core.c
	modified:   simavr/sim/sim_elf.c
	modified:   simavr/sim/sim_elf.h

missed commenting out debug statement on last bugfix.

	modified:   simavr/sim/sim_elf.c

fix for compiler complaint.

Included new bugfix code into trace ifdef block to prevent compiler error if trace not set.

	modified:   simavr/sim/sim_core.c
Ammendments to pull request...

removed debug statements.
slight refactoring of symbol accessors.
ammendments to divergence from project coding style.

	modified:   simavr/sim/sim_avr.h
	modified:   simavr/sim/sim_core.c
	modified:   simavr/sim/sim_elf.c

Removed whitespace.

	modified:   simavr/sim/sim_elf.c