Added setting Gen1 GPIO power-up states

Sample to save I/O Expander states to EEPROM so they are restored on board power-up.