Fix portIsAtomic() function refusing to inline correctly
Update pins_arduino for Mega variant
Change some things that don't work on gcc 4.3.2
Update and test Leonardo port mappings