stm32f4discovery long-term deep sleep

Use deep sleep to save power consumption.

* Enter Stop Mode when long-term sleeping(more than 1s) and wake up by RTC.
* Provide automatic RTC calibration synchronized with TIM2.