Changed interrupt handling, fixed some bugs

Instead of disabling global interrupts when using SPI, just the pin
change interrupt for DR is disabled.
Couldn't compile with interrupts disabled.
Putting module into receive mode was done in the wrong place in the
non-arduino examples.