Yes, RTC is mandatory. The due.cpp/.h can be removed (I think it's actually not used anywhere). The code related to Due EEPROM inside flashmem.cpp can be removed as well. The only relevant (elementary) functions are read (addr, byte) and write (addr, byte) - The remaining functions (read array etc.) should use the elementary functions.
I will look into the Pullrequest problem...