added rtc test code
Merge branch 'release-2-7' of https://github.com/feshie/contiki into driver-sampler