Implements the Clock class for scheduling function calls.

This commit replaces the original View::ScheduleRedraw() method with the new Clock::ScheduleInterval() method for flexibility. The schedule is implemented using platform-specific threads. It uses GCD for iOS and Handler for android.

Signed-off-by: Olli Wang <olliwang@ollix.com>