Mega2560 bootloader: fix wrong eeprom addressing
Mega2560 bootloader: use avr library functions for writing into EEPROM
Fixed permissions