add RTC hal & low power mode support

 1. add new function in thread interface ‘sleep’ which means put thread
in waiting for next wakeup
 2. system timer module added to support real time clock feature