Generalized AVR `settings.c` to work on any platform with an EEPROM

I've updated the avr/settings mechanism to work with any platform that has implemented the Contiki EEPROM API. The documentation and structure of the code has also been improved. I've also added a fake EEPROM implementation to the native target, for testing purposes.