Put inner loop of add_timeslice into extra function so that it can be ca...

...lled separately from CbmRoot. Remove get_timeslice function because it is not implemented in the default fles_ipc library.