ecore: Sleep at least until the next timeout
ecore: Sleep at least until the next timeout

The g_main_loop was spinning waiting for timers that were
almost ready.  The spinning was due to waking up from
the g_main_loop too early, and then having nothing to do.

To solve this, round the timeout up to the nearest millisecond,
so that when the main loop wakes, the timer will definitely be
ready.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61028

gfriloux/ecore,gfriloux/ecore,gfriloux/ecore