Support for angle reference in EEPROM

...written blind, so might need a bit of debugging yet before merging to master
EEPROM-backed reference angle ready for prime time

...tested to work...