The SI24R1 workaround was screwing things up; commented out for now.
Small logic change after ike's discussion; clear_irq clears the FLAGGED bit first, then decides later if it should be re-set.
Big maintenance change; stdint types now used, SPI broken out to msp430_spi.c/.h
msp430_spi.c added Wolverine support