core version 2/3 added.
relavant makefiles modified for new core(s).
makefile changed for improved optimization options.
board_fignition added/updated.

Author: bsekisser <squirmyworms@embarqmail.com>

	modified:   Makefile.common
	new file:   examples/board_fignition/FIGsimavr.c
	new file:   examples/board_fignition/Makefile
	modified:   simavr/Makefile
	modified:   simavr/sim/sim_avr.c
	modified:   simavr/sim/sim_avr.h
	modified:   simavr/sim/sim_core.c
	modified:   simavr/sim/sim_core.h
	new file:   simavr/sim/sim_core_v2.c
	new file:   simavr/sim/sim_core_v2.h
	new file:   simavr/sim/sim_core_v2_flag_ops.h
	new file:   simavr/sim/sim_core_v2_inst_ops.h
	new file:   simavr/sim/sim_core_v2_mem_funcs.h
	new file:   simavr/sim/sim_core_v3.c
	new file:   simavr/sim/sim_core_v3.h
	new file:   simavr/sim/sim_core_v3_inst_ops.h
Merge branch 'master' of https://github.com/buserror-uk/simavr
Merge branch 'master' of https://github.com/buserror-uk/simavr
Merge https://github.com/bsekisser/simavr
added compile flags to new cores...  don't compile if not set.
recent changes to board_fignition code...  better results to benchmark counters.

	modified:   Makefile.common
	modified:   examples/board_fignition/FIGsimavr.c
	modified:   simavr/sim/sim_core_v2.c
	modified:   simavr/sim/sim_core_v3.c
more optimized flag operations

	modified:   simavr/sim/sim_core_v2.c
	modified:   simavr/sim/sim_core_v2_flag_ops.h
	modified:   simavr/sim/sim_core_v2_inst_ops.h
	modified:   simavr/sim/sim_core_v2_mem_funcs.h
	modified:   simavr/sim/sim_core_v3_inst_ops.h
rolled the parts of the new core back together into one file...
just one configuration line in the make file to enable/disable.

	modified:   simavr/Makefile
	modified:   simavr/sim/sim_avr.c
	deleted:    simavr/sim/sim_core_v2.c
	deleted:    simavr/sim/sim_core_v2.h
	deleted:    simavr/sim/sim_core_v2_flag_ops.h
	deleted:    simavr/sim/sim_core_v2_inst_ops.h
	deleted:    simavr/sim/sim_core_v2_mem_funcs.h
	modified:   simavr/sim/sim_core_v3.c
	deleted:    simavr/sim/sim_core_v3.h
	deleted:    simavr/sim/sim_core_v3_inst_ops.h
Fixed typo...  from CONFIG_SIMAVR_CORE_v3 to CONFIG_SIMAVR_CORE_V3 as it should be.

	modified:   simavr/sim/sim_avr.c
Add line to free our buffer on termination.

	modified:   simavr/sim/sim_avr.c
error in building new core...  don't reenable interrupts on return from functions (RET)...  only interrupts (RETI).

	modified:   simavr/sim/sim_core_v3.c
Issue discovered with IJMP and derivitives...  address << 1 is loaded into new_pc whereas it should be loaded directly unaltered in this instance.

	modified:   simavr/sim/sim_core.c
	modified:   simavr/sim/sim_core_v3.c
Revert "Issue discovered with IJMP and derivitives...  address << 1 is loaded into new_pc whereas it should be loaded directly unaltered in this instance."

This reverts commit 4bcd5042bb146a86ce6c0f5d6c2e730b33c0f2f3.

	modified:   simavr/sim/sim_core.c
	modified:   simavr/sim/sim_core_v3.c
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
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
bringing up to date with parent project.

Merge branch 'master' of https://github.com/buserror-uk/simavr into fast-core
move new core off master, into own branch.

	new file:   simavr/sim/sim_fast_core.c
Merge branch 'elf-symbols-debug' into fast-core

Conflicts:
	simavr/sim/sim_avr.h
	simavr/sim/sim_core.c
	simavr/sim/sim_elf.c
In function avr_loadcode (sim_avr.c) a memcpy is performed to load code
	into flash at address of size block...  However, only the size is
	currently checked against avr->flashend potentially leading to a
	block overrun.

	modified:   simavr/sim/sim_avr.c