Removed Foundation structures from pebble_os.c and replaced them with
Core Foundation structures.
Fleshed out app_event_loop, added tick handler (1 tick = 1 millisecond).