Move timeline next_id counter to KdenliveDoc class, ensure it is reset to 0 when a new project is opened