Instead of returning an uint64_t value, return a structured time stamp. This change is only visible to components using Rtc_session directly. Fixes #1381.
The commit also includes a test program incl. run script. Fixes #1344.