disable WDT in crc-vanilla testcase
unbreak testcase build
update test cases to msp430f2618
fix incorrect main() attribute

old: explicitly put the test case's main() in .init9 so it runs at boot

new, correct: put mementos's main() in .init9 instead
nice clean 1e5 test case (just a long loop)
unbreak test case build
signal.h is deprecated in mspgcc4
detect mementos when compiling with clang

treat main() differently accordingly
use a global status variable in crc testcase

in general it's helpful for debugging to have a global status variable that
tracks progress.

in the case of this crc-vanilla2 testcase, you can 'print iters' in mspsim.
if neither segment is usable for checkpoints, erase both
Merge branch 'master' into generation

Conflicts:
	mementos.c
fix off-by-2 errors in checkpoint/restore