Improved support for Arduino Due, Teensy 3, Gemma, Digispark

Teensy 3 (24, 48, 96 MHz), Arduino Due, DigiSpark (8, 16, 16.5 MHz), 12
MHz AVR devices. Inline AVR assembly code now works on both ATmega and
ATtiny; no more #ifdef house of cards.