XRD c++ code v0.4

Diagnostic and idle mode of operations have been covered (NOT tested
because of RENA is not soldered yet). Code is capable of reporting
status (RTC, RENA check counters) and storing in SD card. Code also can
store raw data and system info into the SD card(TESTED).