Fix time management
Remove the ugly implementation of time management in the uci module and let the search module do this job.